- 博客(6)
- 收藏
- 关注
原创 merge.py
import os import shutil def list_fullpath(dirPath): paths = [] for i in os.listdir(): paths.append(i) source_dir = r'D:\0523_merge\0523_only' dest_dir = r'D:\0523_merge\0523_only_dest' all...
2018-07-02 09:50:28 564
原创 random_number.py
#-*-coding:utf-8 -*- import random with open('train_number.txt', 'wt') as f: for _ in range(5000000): num = random.randint(0,9) if num == 0: f.write("零\n") elif num == 1: f.write("一\n") ...
2018-07-02 09:49:14 79
原创 step1_test_2.py
""" This script is uesed for automatic implementation of Laugnuage Model Training Version: 0.1.0 Status: prototype Author: Fangwen Shu email: sfw811@hotmail.com Date: 2018/04/13 """ import os...
2018-07-02 09:47:14 169
原创 linux command
1. 批处理修改编码格式: find ./ name 2. :17,25g/^$/d 是删除17行到25行的空白部份3. 删除当前行后面所有的行:,$d4. 删除第一行到当前行:1,.d5. 只取第一行,用 head -16、先24bit 源为16bit wav : ffmpeg -i in.wav -acodec pcm_s16le out.wav7. 16bit wav转flac. : ...
2018-07-02 09:45:40 224
原创 keyword
PW_dic = {'3207': '3207', '9603': '9603', '7092': '7092', '0289': '0289', '8936': '8936', '6250': '6250', '6837': '6837', '8593': '8593...
2018-05-22 14:28:44 214
原创 nomatchingDATA
2938629386652089532753832??765202762762767??26206359?207?9265206373275??2970856939650388297362933569965037059650329?2635?6503965032??92??92?92?902?9?218208927?82?382382382382638072762686526583233686...
2018-05-22 14:28:25 692
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人