TranslateProject/sources/tech/20220926 Speech Recognition to Text in Linux, Ubuntu using Google Docs.md
2022-09-28 08:32:25 +08:00

5.1 KiB
Raw Blame History

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.

Lets 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 dont have Chrome installed, you can visit this link and download/install Chrome.

Also, if you dont have a Google account, you can create one using this link for free.

Step 1

Open https://docs.google.com from Chrome and create a blank document.

Create an empty doc

Step 2

After the blank document is loaded, click Tools > Voice typing from the menu.

Enable Voice Typing

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

Allow Docs to access Mic

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 its 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

Thats 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 its enabled.

Check Microphone settings in Ubuntu

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 Chromes built-in speech recognition feature is simple and easy to use. It can get the job done for average users, although its 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

via: https://www.debugpoint.com/speech-recognition-to-text-in-linux-ubuntu-using-google-docs/

作者:Arindam 选题:lkxed 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出