mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
translated
This commit is contained in:
parent
151cefe4da
commit
66a223467a
@ -1,101 +0,0 @@
|
||||
[#]: subject: "Speech Recognition to Text in Linux, Ubuntu using Google Docs"
|
||||
[#]: via: "https://www.debugpoint.com/speech-recognition-to-text-in-linux-ubuntu-using-google-docs/"
|
||||
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "geekpi"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
Speech Recognition to Text in Linux, Ubuntu using Google Docs
|
||||
======
|
||||
This is how you can convert speech to text in Linux systems, including Ubuntu.
|
||||
|
||||
There is not much speech recognition software available in Linux systems, including native desktop apps. There are some apps available that use IBM Watson and other APIs to convert speech to text, but they are not user-friendly and require an advanced level of user interactions, e.g. a little bit of programming or scripting in respective languages.
|
||||
|
||||
However, not many users know that Google Docs provides an advanced level of Speech Recognition using its own AI technologies, which can be accessed via Chrome in Google Docs.
|
||||
|
||||
Any user can use this feature to convert speech to text, requiring no advanced level of computer knowledge. The best thing about this feature of Google Docs is you can use it in any Ubuntu derivatives or any Linux distribution where Chrome is available.
|
||||
|
||||
Let’s take a look at how you can enable it in Ubuntu.
|
||||
|
||||
### How to convert speech to text
|
||||
|
||||
The prerequisites are that you should have Chrome installed in your system and a Google account. If you don’t have Chrome installed, you can visit [this link][1] and download/install Chrome.
|
||||
|
||||
Also, if you don’t have a Google account, you can create one using [this link][2] for free.
|
||||
|
||||
#### Step 1
|
||||
|
||||
Open [https://docs.google.com][3] from Chrome and create a blank document.
|
||||
|
||||
![Create an empty doc][4]
|
||||
|
||||
#### Step 2
|
||||
|
||||
After the blank document is loaded, click `Tools > Voice typing` from the menu.
|
||||
|
||||
![Enable Voice Typing][5]
|
||||
|
||||
#### Step 3
|
||||
|
||||
On the left-hand side, you can see a microphone icon. Click the microphone icon, and for the first time, Chrome would ask to allow microphone access via browser. Click Allow.
|
||||
|
||||
![Click the mic][6]
|
||||
|
||||
![Allow Docs to access Mic][7]
|
||||
|
||||
By default, it uses your system language as the detecting language of voice while converting it into text; however, you can change it to any language you want per the available list of languages. So far, more than 60+ languages are supported and recognized in Google Docs while converting them to text.
|
||||
|
||||
#### Step 4
|
||||
|
||||
After you click allow, the microphone icon will turn orange, and now it’s ready to accept or recognize your voice. Start speaking anything you want, and voila! You will see your speech is being converted to text and written in the document.
|
||||
|
||||
![Voice to Text – In action][8]
|
||||
|
||||
That’s it. You have successfully converted voice to text in Ubuntu via Google Chrome and Google docs.
|
||||
|
||||
This amazing feature is available for all Linux users for free. Drop a comment below using the comment box if you are aware of other apps that can convert voice to text in Linux. Also, let me know whether you found this helpful article.
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
If the above feature is not working in your browser, make sure to check out the following.
|
||||
|
||||
* Open the Settings window (in GNOME desktop in Ubuntu or another distro).
|
||||
* Go to `Privacy > Microphone`.
|
||||
* And make sure it’s enabled.
|
||||
|
||||
![Check Microphone settings in Ubuntu][9]
|
||||
|
||||
### Wrapping Up
|
||||
|
||||
Although, there is a cloud-based solutions available recently, such as Amazon Polly and others. But they come with a steep price. Plus requires a bit of useful knowledge as well.
|
||||
|
||||
Whereas Google Chrome’s built-in speech recognition feature is simple and easy to use. It can get the job done for average users, although it’s a little slow.
|
||||
|
||||
That said, I hope this guide helps you to convert voice to text and do let me know in the comment box if you know of such an application which does the same for free.
|
||||
|
||||
[Next: How to Setup Internet in CentOS, RHEL, Rocky Linux Minimal Install][10]
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://www.debugpoint.com/speech-recognition-to-text-in-linux-ubuntu-using-google-docs/
|
||||
|
||||
作者:[Arindam][a]
|
||||
选题:[lkxed][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://www.debugpoint.com/author/admin1/
|
||||
[b]: https://github.com/lkxed
|
||||
[1]: https://www.google.com/chrome
|
||||
[2]: https://accounts.google.com
|
||||
[3]: https://docs.google.com
|
||||
[4]: https://www.debugpoint.com/wp-content/uploads/2018/07/Create-an-empty-doc.png
|
||||
[5]: https://www.debugpoint.com/wp-content/uploads/2018/07/Enable-Voice-Typing.png
|
||||
[6]: https://www.debugpoint.com/wp-content/uploads/2018/07/Click-the-mic.png
|
||||
[7]: https://www.debugpoint.com/wp-content/uploads/2018/07/Allow-Docs-to-access-Mic.png
|
||||
[8]: https://www.debugpoint.com/wp-content/uploads/2018/07/Voice-to-Text-In-action.png
|
||||
[9]: https://www.debugpoint.com/wp-content/uploads/2018/07/Check-Microphone-settings-in-Ubuntu.jpg
|
||||
[10]: https://www.debugpoint.com/setup-internet-minimal-install-server/
|
@ -0,0 +1,99 @@
|
||||
[#]: subject: "Speech Recognition to Text in Linux, Ubuntu using Google Docs"
|
||||
[#]: via: "https://www.debugpoint.com/speech-recognition-to-text-in-linux-ubuntu-using-google-docs/"
|
||||
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "geekpi"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
使用 Google Docs 在 Ubuntu 中对文本进行语音识别
|
||||
======
|
||||
这就是在包括 Ubuntu 在内的 Linux 系统中将语音转换为文本的方法。
|
||||
|
||||
Linux 系统中可用的语音识别软件不多,包括原生桌面应用。有一些可用的应用使用 IBM Watson 和其他 API 将语音转换为文本,但它们对用户不友好,需要高级用户交互,例如用相应的语言进行一些编程或脚本编写。
|
||||
|
||||
但是,没有多少用户知道 Google Docs 使用自己的 AI 技术提供高级语音识别,它可以通过 Chrome 访问 Google Docs 达到。
|
||||
|
||||
任何用户都可以使用此功能将语音转换为文本,而无需高级计算机知识。 Google Docs 的这个功能最好的一点是你可以在任何 Ubuntu 衍生版或任何支持 Chrome 的 Linux 发行版中使用它。
|
||||
|
||||
让我们看看如何在 Ubuntu 中启用它。
|
||||
|
||||
### 如何将语音转换为文本
|
||||
|
||||
先决条件是你应该在系统中安装 Chrome 并拥有 Google 帐户。如果你没有安装 Chrome,你可以访问[此链接][1]并下载/安装 Chrome。
|
||||
|
||||
此外,如果你没有 Google 帐户,你可以使用[此链接][2]免费创建一个。
|
||||
|
||||
#### 步骤 1
|
||||
|
||||
从 Chrome 打开 [https://docs.google.com][3] 并创建一个空白文档。
|
||||
|
||||
![创建一个空文档][4]
|
||||
|
||||
#### 步骤 2
|
||||
|
||||
加载空白文档后,从菜单中单击`工具 > 语音输入`。
|
||||
|
||||
![启用语音输入][5]
|
||||
|
||||
#### 步骤 3
|
||||
|
||||
在左侧,你可以看到一个麦克风图标。单击麦克风图标,Chrome 会首次要求允许通过浏览器访问麦克风。单击允许。
|
||||
|
||||
![点击麦克风][6]
|
||||
|
||||
![允许文档访问麦克风][7]
|
||||
|
||||
默认情况下,它使用你的系统语言作为语音的检测语言,同时将其转换为文本;但是,你可以根据可用的语言列表将其更改为所需的任何语言。到目前为止,Google Docs 支持和识别超过 60 多种语言,同时将它们转换为文本。
|
||||
|
||||
#### 步骤 4
|
||||
|
||||
单击允许后,麦克风图标将变为橙色,现在它已准备好接受或识别你的声音。开始说任何你想说的话,瞧!你将看到你的演讲被转换为文本并写入文档。
|
||||
|
||||
![正在进行语音转文字][8]
|
||||
|
||||
完成了。你已通过 Google Chrome 和 Google Docs 在 Ubuntu 中成功地将语音转换为文本。
|
||||
|
||||
所有 Linux 用户都可以免费使用这个很棒的功能。如果你知道其他可以在 Linux 中将语音转换为文本的应用,请在下方的评论区发表评论。另外,让我知道你是否觉得这篇文章有用。
|
||||
|
||||
### 故障排除
|
||||
|
||||
如果上述功能在你的浏览器中不起作用,请务必查看以下内容。
|
||||
|
||||
* 打开设置窗口(在 Ubuntu 或其他发行版的 GNOME 桌面中)。
|
||||
* 转到`隐私 > 麦克风`。
|
||||
* 并确保它已启用。
|
||||
|
||||
![检查 Ubuntu 中的麦克风设置][9]
|
||||
|
||||
### 总结
|
||||
|
||||
虽然,最近有一种基于云的解决方案可用,例如 Amazon Polly 等。但它们的价格很高。另外还需要一些有用的知识。
|
||||
|
||||
而 Google Chrome 的内置语音识别功能简单易用。虽然它有点慢,但它可以为普通用户完成工作。
|
||||
|
||||
也就是说,我希望本指南可以帮助你将语音转换为文本,如果你知道这样的免费应用,请在评论区告诉我。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://www.debugpoint.com/speech-recognition-to-text-in-linux-ubuntu-using-google-docs/
|
||||
|
||||
作者:[Arindam][a]
|
||||
选题:[lkxed][b]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://www.debugpoint.com/author/admin1/
|
||||
[b]: https://github.com/lkxed
|
||||
[1]: https://www.google.com/chrome
|
||||
[2]: https://accounts.google.com
|
||||
[3]: https://docs.google.com
|
||||
[4]: https://www.debugpoint.com/wp-content/uploads/2018/07/Create-an-empty-doc.png
|
||||
[5]: https://www.debugpoint.com/wp-content/uploads/2018/07/Enable-Voice-Typing.png
|
||||
[6]: https://www.debugpoint.com/wp-content/uploads/2018/07/Click-the-mic.png
|
||||
[7]: https://www.debugpoint.com/wp-content/uploads/2018/07/Allow-Docs-to-access-Mic.png
|
||||
[8]: https://www.debugpoint.com/wp-content/uploads/2018/07/Voice-to-Text-In-action.png
|
||||
[9]: https://www.debugpoint.com/wp-content/uploads/2018/07/Check-Microphone-settings-in-Ubuntu.jpg
|
Loading…
Reference in New Issue
Block a user