基于语音识别与翻译的实时跨语言对话工具
LinguaSync 是一个桌面端实时语音翻译应用,通过语音识别、机器翻译和语音合成串联实现跨语言交流,并借助 cx_Freeze 打包为 Windows、Linux 和 Mac 可执行程序。
## LinguaSync:实时语音翻译 [](<https://github.com/SamirPaulb/real-time-voice-translator/blob/HEAD/README.md>) 实时语音翻译(Real-Time Voice Transferation)是一个机器学习项目,旨在提供跨语言交流的无缝自然体验,它使用深层神经网络将语音从一种语言翻译到另一种语言实时,同时保持扬声器的语气和情感,是支持Windows,Linux,和Mac操作系统的桌面应用程序. 应用程序很容易使用: 简单地选择您想要在介于之间翻译和开始发言的语言。 应用程序将倾听您的声音, 并实时提供即时翻译。 您也可以使用该应用程序来翻译两个或两个以上的人之间的对话 。 ### 依赖关系 (原始内容存档于2017-09-29). QQ Python3.11, gTTS, pyaudio, playound ===1.2.2深层翻译家,SpeechRecognition,google-transliteration-api, cx- 冻结 ### 开始 1. 克隆此项目并创建 virtualenv(推荐)并激活 virtualenv. ``` # Create virtualenv python -m venv env # Linux/MacOS source env/bin/activate # Windows env\Scripts\activate ``` 2. 安装需要依赖性 。 ``` pip install --upgrade wheel pip install -r requirements.txt ``` 3. 运行代码和语音(有乐趣). ``` python main.py ``` ### 程序流程 : [](<https://github.com/SamirPaulb/real-time-voice-translator/blob/HEAD/README.md>) ### 安装 Windows/Linux/Mac 应用程序 [](<https://github.com/SamirPaulb/real-time-voice-translator/releases/latest>)</a" 我使用[查看原文链接](<https://github.com/marcelotduarte/cx_Freeze/tree/main>) cx_Freeze 来构建此应用程序的可执行文件。构建设置可以通过修改[查看原文链接](<https://github.com/SamirPaulb/real-time-voice-translator/blob/main/setup.py>) setup.py 文件来更改。 ##### 构建包含所有文件的安装器 : - 视窗 : ```python setup.py bdist_msi``` - Linux : (美国英语). ```python setup.py bdist_rpm``` - 麦克: ```python setup.py bdist_mac``` ### GUI [](<https://github.com/SamirPaulb/real-time-voice-translator/blob/HEAD/README.md>)
查看原始来源