macos - Mountain Lion 的听写应用程序的命令行界面/工具?

标签 macos applescript speech-recognition osx-mountain-lion text-to-speech

很多人都知道 Mac OS X 命令行工具 say,它可以从终端在 Mac 上执行文本到语音的转换:

sh $ 说 Hello World !

是否有可用于 Mountain Lion 听写应用程序的命令行工具——可以进行语音到文本的工具?

Apple 文档似乎没有提及任何内容,但如果在 OS X 的某处隐藏了一个未记录的听写服务 CLI,我也不会感到惊讶。

最佳答案

您需要使用 AppleScript 调用 SpeechApplicationServer.app。更多细节在这里: https://apple.stackexchange.com/questions/127366/speechrecognitionserver-not-found-in-mavericks-with-applescript

关于macos - Mountain Lion 的听写应用程序的命令行界面/工具?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14244904/

相关文章:

pagination - 在 Pages 中创建表格

c++ - webRTC : How to apply webRTC's VAD on audio through samples obtained from WAV file

machine-learning - 使用 MFCC 的简单单词检测器

mysql - OS X Mavericks : mysql socket defined in my. cnf,但未创建

macos - 找不到stdio.h

xcode - 使用 Apple 的私有(private)框架 UXKit 进行 MacOS 应用程序开发是否安全?

macos - 创建类似 Dropbox 的 DMG 包

macos - 使用 Applescript 取消最小化应用程序

android - 如何在 Android 设备中运行语音识别(语音到文本)?

macos - 操作系统 : Execute bash script when file appears in folder