摘要:
文本预处理 with open('C:/Users/tellw/Desktop/假面山庄杀人事件.txt',encoding='utf8') as f: contents=f.read() contents=''.join(contents.split('\n')) import re import 阅读全文
摘要:
import wave import sys import json from vosk import Model, KaldiRecognizer, SetLogLevel # You can set log level to -1 to disable debug messages SetLog 阅读全文
摘要:
寻找扬声器声音的可录制接口 import sounddevice as sd import wave import os devices=sd.query_devices() print(devices) for i in range(len(devices)): wf=wave.open(f'te 阅读全文