Speech recognition software for Linux

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

As of the early 2000s, several speech recognition (SR) software packages exist for Linux. Some of them are free and open-source software and others are proprietary software. Speech recognition usually refers to software that attempts to distinguish thousands of words in a human language. Voice control may refer to software used for communicating operational commands to a computer.

Linux native speech recognition[edit]

History[edit]

In the late 1990s, a Linux version of ViaVoice, created by IBM, was made available to users for no charge. In 2002, the free software development kit (SDK) was removed by the developer.

Development status[edit]

In the early 2000s, there was a push to get a high-quality Linux native speech recognition engine developed. As a result, several projects dedicated to creating Linux speech recognition programs were begun, such as Mycroft, which is similar to Microsoft Cortana, but open source.

Speech sample crowdsourcing[edit]

It is essential to compile a speech corpus to produce acoustic models for speech recognition projects. VoxForge is a free speech corpus and acoustic model repository that was built with the aim of collecting transcribed speech to be used in speech recognition projects. VoxForge accepts crowdsourced speech samples and corrections of recognized speech sequences. It is licensed under a GNU General Public License (GPL).

Speech recognition concept[edit]

The first step is to begin recording an audio stream on a computer. The user has two main processing options:

  • Discrete speech recognition (DSR) – processes information on a local machine entirely. This refers to self-contained systems in which all aspects of SR are performed entirely within the user's computer. This is becoming critical for protecting intellectual property (IP) and avoiding unwanted surveillance (2018).
  • Remote or server-based SR – transmits an audio speech file to a remote server to convert the file into a text string file. Due to recent cloud storage schemes and data mining, this method more easily allows surveillance, theft of information, and inserting malware.

Remote recognition was formerly used by smartphones because they lacked sufficient performance, working memory, or storage to process speech recognition within the phone. These limits have largely been overcome although server-based SR on mobile devices remains universal.

Speech recognition in browser[edit]

Discrete speech recognition can be performed within a web browser and works well with supported browsers. Remote SR does not require installing software on a desktop computer or mobile device as it is mainly a server-based system with the inherent security issues noted above.

  • Remote: https://dictation.io (use Chromium/Chrome) The dictation service records an audio track of the user via a web browser. In turn, dictation.io uses the Google API for speech recognition. Within Google Docs, Google voice typing works within a Chrome browser, regardless of operating system as it is a server-based system.
  • DSR: There are solutions that work on a client only, without sending data to servers, e.g. pocketsphinx.js.

Free speech recognition engines[edit]

The following is a list of projects dedicated to implementing speech recognition in Linux, and major native solutions. These are not end-user applications. These are programming libraries that may be used to develop end-user applications.

  • CMU Sphinx is a general term to describe a group of speech recognition systems developed at Carnegie Mellon University.
  • Julius is a high-performance, two-pass large vocabulary continuous speech recognition (LVCSR) decoder software for speech-related researchers and developers.
  • Kaldi a toolkit for speech recognition provided under the Apache licence.
  • Mozilla DeepSpeech is developing an open source Speech-To-Text engine based on Baidu's deep speech research paper.[1]

Possibly active projects:

  • Parlatype, audio player for manual speech transcription for the GNOME desktop, provides since version 1.6 continuous speech recognition with CMU Sphinx.[2]
  • Lera (Large Vocabulary Speech Recognition) based on Simon and CMU Sphinx for KDE.[3]
  • Speechpad.pw[4] uses Google's speech recognition engine and Chrome native messaging API to provide direct speech input in Linux.
  • Speech[5] uses Google's speech recognition engine to support dictation in many different languages.
  • Speech Control: is a Qt-based application that uses CMU Sphinx's tools like SphinxTrain and PocketSphinx to provide speech recognition utilities like desktop control, dictation and transcribing to the Linux desktop.
  • Platypus[6] is an open source shim that will allow the proprietary Dragon NaturallySpeaking running under Wine to work with any Linux X11 application.
  • FreeSpeech,[7] from the developer of Platypus, is a free and open source cross-platform desktop application for GTK that uses CMU Sphinx's tools to provide voice dictation, language learning, and editing in the style of Dragon NaturallySpeaking.
  • Vedics[8] (Voice Enabled Desktop Interaction and Control System) is a speech assistant for GNOME Environment
  • GnomeVoiceControl[9] is a dialogue system to control the GNOME Desktop that was developed in the Google Summer of Code in 2007.
  • NatI[10] is a multi-language voice control system written in Python
  • SphinxKeys[11] allows the user to type keyboard keys and mouse clicks by speaking into their microphone.
  • VoxForge is a free speech corpus and acoustic model repository for open source speech recognition engines.
  • Simon[12] aims at being extremely flexible to compensate dialects or even speech impairments. It uses either HTK – Julius or CMU SPHINX, works on Windows and Linux and supports training.
  • Speeral Speeral a group of speech recognition tools developed at University of Avignon
  • Jasper project[13] Jasper is an open source platform for developing always-on, voice-controlled applications. This is an embedded Raspberry Pi front-end for CMU Sphinx or Julius

It is possible for developers to create Linux speech recognition software by using existing packages derived from open-source projects.

Inactive projects:

  • CVoiceControl[14] is a KDE and X Window independent version of its predecessor KVoiceControl. The owner ceased development in alpha stage of development.
  • Open Mind Speech,[15] a part of the Open Mind Initiative,[16] aims to develop free (GPL) speech recognition tools and applications, and collect speech data. Production ended in 2000.
  • PerlBox[17] is a perl based control and speech output. Development ended in early stages in 2004.
  • Xvoice[18] A user application to provide dictation and command control to any X application. Development ended in 2009 during early project testing. (requires proprietary ViaVoice to function)

Proprietary speech recognition engines[edit]

  • Verbio ASR[19] is a commercial speech recognition server for Linux and windows platforms.
  • DynaSpeak,[20] from SRI International, (speaker-independent speech recognition software development kit that scales from small- to large-scale systems, for use in commercial, consumer, and military applications)
  • Janus Recognition Toolkit (JRTk)[21] is a closed source speech recognition toolkit mainly targeted at Linux developed by the Interactive Systems Laboratories developed at Carnegie Mellon University and Karlsruhe Institute of Technology for which commercial and research licenses are available.
  • LumenVox Speech Engine is a commercial library for including in other software for Linux and Windows. It has been integrated into the Asterisk private branch exchange system.[22]
  • VoxSigma is a speech recognition software suite developed by Vocapia Research.[23]

Voice control and keyboard shortcuts[edit]

Speech recognition usually refers to software that attempts to distinguish thousands of words in a human language. Voice control may refer to software used for sending operational commands to a computer or appliance. Voice control typically requires a much smaller vocabulary and thus is much easier to implement.

Simple software combined with keyboard shortcuts, have the earliest potential for practically accurate voice control in Linux.

Running Windows speech recognition software with Linux[edit]

Via compatibility layer[edit]

It is possible to use programs such as Dragon NaturallySpeaking in Linux, by using Wine, though some problems may arise, depending on which version is used.[24]

Via virtualized Windows[edit]

It is also possible to use Windows speech recognition software under Linux. Using no-cost virtualization software, it is possible to run Windows and NaturallySpeaking under Linux. VMware Server or VirtualBox support copy and paste to/from a virtual machine, making dictated text easily transferable to/from the virtual machine.

See also[edit]

References[edit]

  1. ^ "A TensorFlow implementation of Baidu's DeepSpeech architecture". Mozilla. 2017-12-05. Retrieved 2017-12-05.
  2. ^ Parlatype 1.6 released, Apr 24, 2019, http://gkarsay.github.io/parlatype/2019/04/24/v1.6.html/ Retrieved 2019-05-12.
  3. ^ Lera KDE git repository – (2015) – https://cgit.kde.org/scratch/grasch/lera.git/ Retrieved 2017-07-25.
  4. ^ "Speech to text online, Windows and Linux integration". speechpad.pw.
  5. ^ "andre-luiz-dos-santos/speech-app". GitHub. 2018-07-12.
  6. ^ "The Nerd Show – Platypus". thenerdshow.com.
  7. ^ "FreeSpeech Realtime Speech Recognition and Dictation". TheNerdShow.com.
  8. ^ "Vedics".
  9. ^ "Projects/GnomeVoiceControl – GNOME Wiki!". wiki.gnome.org.
  10. ^ "rcorcs/NatI". GitHub. 2018-09-24.
  11. ^ "worden341/sphinxkeys". GitHub. 2016-07-11.
  12. ^ Simon KDE – Main Developer until 2015 Peter Grasch – (accessed 2017/09/04) – [1]
  13. ^ "Jasper". GitHub.
  14. ^ Kiecza, Daniel. "Linux". Kiecza.net.
  15. ^ "Open Mind Speech – Free Speech Recognition for Linux". freespeech.sourceforge.net.
  16. ^ "Open Mind Initiative". Archived from the original on 2003-08-05. Retrieved 2019-03-16.
  17. ^ "Perlbox.org Linux Speech Control and Voice Recognition". perlbox.sourceforge.net.
  18. ^ "Xvoice". xvoice.sourceforge.net.
  19. ^ "Verbio". www.verbio.com.
  20. ^ "SRI Speech: Home". www.speechatsri.com.
  21. ^ (IAR), Roedder, Margit (26 January 2018). "KIT – Janus Recognition Toolkit". isl.ira.uka.de.
  22. ^ "Speech and Multifactor Authentication Technologies". LumenVox. Retrieved 2013-02-28.
  23. ^ "Speech to Text Software & Service – Speech Recognition Software". Vocapia Research. 2018-12-30. Retrieved 2019-03-16.
  24. ^ "WineHQ – Dragon Naturally Speaking". appdb.winehq.org.

External links[edit]