Debdeepgoswami.files.wordpress.com



Project Reporton“SAKHA”(Speech Aided Kernel Handling Assistant)A Voice Controlled Interactive System in Bengali Language[Version 1.0 approved]Prepared byDebdeep Goswami (19MCMB20)Arijit Dutta (19MCMB11)2078990-214630Under the supervision ofDr. M. NagamaniAssistant Professor,School Of Computer and Information Sciences,University Of HyderabadTable of ContentsChapter Page1. PROJECT OVERVIEW ............................................................................................... 1.1 Project Objective ...................................................................................................... 1.2 Abstract ..................................................................................................................... 1.3 Project scope ............................................................................................................. 2. LITERATURE REVIEW ............................................................................................. 2.1 An overview of Speech Recognition ........................................................................ 2.2 History ...................................................................................................................... 2.3 Types of speech recognition ..................................................................................... 2.3.1 Isolated Speech .............................................................................................. 2.3.2 Connected Speech........................................................................................... 2.3.3 Continuous Speech ......................................................................................... 2.3.4 Spontaneous Speech ....................................................................................... 2.4 Speech Recognition Process ..................................................................................... 2.4.1 Components of Speech recognitionSystem ................................................... 2.5 Uses of Speech Recognition Programs ..................................................................... 2.6 Applications............................................................................................................... 2.6.1 From medical perspective............................................................................... 2.6.2 From military perspective .............................................................................. 2.6.3 From educational perspective ......................................................................... 2.7 Speech Recognition weakness and flaws ...................................................................... 2.8 The future of speech recognition ................................................................................. 2.9 Few Speech recognition softwares .............................................................................. 2.9.1 XVoice ......................................................................................................... 2.9.2 ISIP .............................................................................................................. 2.9.3 Ears .............................................................................................................. 2.9.4 CMU Sphinix ............................................................................................... 2.9.5 NICO ANN Toolkit ...................................................................................... 3. METHODOLOGY AND TOOLS .............................................................................. 3.1 Fundamentals to speech recognition ....................................................................... 3.1.1 Utterances .................................................................................................... 3.1.2 Pronunciation ............................................................................................... 3.1.3 Grammar ...................................................................................................... 3.1.4 Accuracy ...................................................................................................... 3.1.5 Vocabularies ................................................................................................. 3.1.6 Training ........................................................................................................ 3.2 Tools ....................................................................................................................... 3.3 Methodology .......................................................................................................... 3.3.1 Speech Synthesis ......................................................................................... 4.SOFTWARE REQUIREMENT SPECIFICATION ............................................... 4.1 User Characteristics ................................................................................................ 4.2 Hardware and software Requirements .................................................................... 4.3 Intended Uses .......................................................................................................... 4.4 System Functionalities ............................................................................................5. WORKING POCEDURE OF THE DEVELOPPED SYSTEM ............................. 5.1 Code ................................................................................................ 4.2 Input and Output .................................................................... Revision HistoryNameDateReason For ChangesVersionSAKHA10/11/2019Initial Release1.0CHAPTER 1PROJECT OVERVIEWThis thesis report considers an overview of speech recognition technology,software development, and its applications. The first section deals with the description ofspeech recognition process, its applications in different sectors, its flaws and finally thefuture of technology. Later part of report covers the speech recognition process, and thecode for the software and its working. Finally the report concludes at the differentpotentials uses of the application and further improvements and considerations.1.1 Project Objective? To understand the speech recognition and its fundamentals.? Its working and applications in different areas? Its implementation as a desktop Application? Development for software that can mainly be used for:? Speech Recognition? Speech Generation? Tool for operating Machine through voice.1.2AbstractSpeech recognition technology is one from the fast growing engineeringtechnologies. It has a number of applications in different areas and provides potentialbenefits. Nearly 20% people of the world are suffering from various disabilities; many ofthem are blind or unable to use their hands effectively. The speech recognition systems inthose particular cases provide a significant help to them, so that they can shareinformation with people by operating computer through voice input.This project is designed and developed keeping that factor into mind, and a littleeffort is made to achieve this aim. Our project is capable to recognize the speech andconvert the input audio into text; it also enables a user to perform operations such asopening several applications, creation of files and directories, shutting down or rebooting the system by providing voice input. At the initial level effort is made to provide help for basic operations as discussed above, but the software can further be updated and enhanced in order to cover more operations.1.3Project scopeThis project has the speech recognizing and speech synthesizing capabilities though it is not a complete replacement of manual handling of desktop applications but still a good text editor to be used through voice. This project can also be extended to remote dektop controller as an IOT application using Raspberry Pi (SoC).CHAPTER 2LITERATURE REVIEW2.1An overview of Speech RecognitionSpeech recognition is a technology that able a computer to capture the wordsspoken by a human with a help of microphone [1] [2]. These words are later onrecognized by speech recognizer, and in the end, system outputs the recognized words.The process of speech recognition consists of different steps that will be discussed in thefollowing sections one by one.An ideal situation in the process of speech recognition is that, a speechrecognition engine recognizes all words uttered by a human but, practically theperformance of a speech recognition engine depends on number of factors. Vocabularies,multiple users and noisy environment are the major factors that are counted in as thedepending factors for a speech recognition engine [3].2.2HistoryThe concept of speech recognition started somewhere in 1940s [3], practically thefirst speech recognition program was appeared in 1952 at the bell labs, that was aboutrecognition of a digit in a noise free environment [4], [5]. 1940s and 1950s consider as the foundational period of the speech recognition technology, in this period work was done on the foundational paradigms of the speech recognition that is automation and information theoretic models [15]. In the 1960’s we were able to recognize small vocabularies (order of 10-100 words) of isolated words, based on simple acoustic-phonetic properties of speech sounds [3]. The key technologies that were developed during this decade were, filter banks and time normalization methods [15]. In 1970s the medium vocabularies (order of 100-1000 words) using simple template-based, pattern recognition methods were recognized. In 1980s large vocabularies (1000-unlimited) were used and speech recognition problems based on statistical, with a large range of networks for handling language structures were addressed. The key invention of this era were hidden markov model (HMM) and the stochastic language model, which together enabled powerful new methods for handling continuous speech recognition problem efficiently and with high performance [3]. In 1990s the key technologies developed during this period were the methods for stochastic language understanding, statistical learning of acoustic and language models, and the methods for implementation of large vocabulary speech understanding systems.After the five decades of research, the speech recognition technology has finallyentered marketplace, benefiting the users in variety of ways. The challenge of designing a machine that truly functions like an intelligent human is still a major one going forward.2.3Types of speech recognitionSpeech recognition systems can be divided into the number of classes based ontheir ability to recognize that words and list of words they have. A few classes of speechrecognition are classified as under:2.3.1 Isolated SpeechIsolated words usually involve a pause between two utterances; it doesn’t mean that it only accepts a single word but instead it requires one utterance at a time [4].2.3.2Connected SpeechConnected words or connected speech is similar to isolated speech but allowseparate utterances with minimal pause between them.2.3.3Continuous speechContinuous speech allow the user to speak almost naturally, it is also called the computer dictation.2.3.4Spontaneous SpeechAt a basic level, it can be thought of as speech that is natural sounding and not rehearsed. An ASR system with spontaneous speech ability should be able to handle a variety of natural speech features such as words being run together, "ums" and "ahs", and even slight stutters.2.4Speech Recognition Processcenter635Fig: 2.1 Speech Recognition Process2.4.1 Components of Speech recognition SystemVoice InputWith the help of microphone audio is input to the system, the pc sound cardproduces the equivalent digital representation of received audio [8] [9] [10].DigitizationThe process of converting the analog signal into a digital form is known asdigitization [8], it involves the both sampling and quantization processes. Sampling isconverting a continuous signal into discrete signal, while the process of approximating acontinuous range of values is known as quantization.Acoustic ModelAn acoustic model is created by taking audio recordings of speech, and their texttranscriptions, and using software to create statistical representations of the sounds thatmake up each word. It is used by a speech recognition engine to recognize speech [8].The software acoustic model breaks the words into the phonemes [10].Language ModelLanguage modeling is used in many natural language processing applicationssuch as speech recognition tries to capture the properties of a language and to predict thenext word in the speech sequence [8]. The software language model compares thephonemes to words in its built in dictionary [10].Speech EngineThe job of speech recognition engine is to convert the input audio into text [4]; toaccomplish this it uses all sorts of data, software algorithms and statistics. Its firstoperation is digitization as discussed earlier, that is to convert it into a suitable format forfurther processing. Once audio signal is in proper format it then searches the best matchfor it. It does this by considering the words it knows, once the signal is recognized it returns its corresponding text string.2.5Uses of Speech Recognition ProgramsBasically speech recognition is used for two main purposes. First and foremostdictation that is in the context of speech recognition is translation of spoken words intotext, and second controlling the computer, that is to develop such software that probablywould be capable enough to authorize a user to operate different application by voice[4][11].Writing by voice let a person to write 150 words per minute or more if indeedhe/she can speak that much quickly. This perspective of speech recognition programscreate an easy way for composing text and help the people in that industry to composemillions of words digitally in short time rather then writing them one by one, and thisway they can save their time and effort.Speech recognition is an alternative of keyboard. If you are unable to write or just don’t want to type then programs of speech recognition helps you to do almost any thing that you used to do with keyboard.2.6Applications2.6.1From medical perspectivePeople with disabilities can benefit from speech recognition programs. Speechrecognition is especially useful for people who have difficulty using their hands,in such cases speech recognition programs are much beneficial and they can usefor operating computers. Speech recognition is used in deaf telephony, such asvoicemail to text.2.6.2 From military perspectiveSpeech recognition programs are important from military perspective; in AirForce speech recognition has definite potential for reducing pilot workload. Beside the Air force such Programs can also be trained to be used in helicopters, battle management and other applications.2.6.3From educational perspectiveIndividuals with learning disabilities who have problems with thought-to-papercommunication (essentially they think of an idea but it is processed incorrectly causing it to end up differently on paper) can benefit from the software. Some other application areas of speech recognition technology are described as under [13]:Command and ControlASR systems that are designed to perform functions and actions on the system aredefined as Command and Control systems. Utterances like "Open Netscape" and "Start anew browser" will do just that.TelephonySome Voice Mail systems allow callers to speak commands instead of pressing buttons tosend specific tones.Medical/DisabilitiesMany people have difficulty typing due to physical limitations such as repetitive straininjuries (RSI), muscular dystrophy, and many others. For example, people with difficultyhearing could use a system connected to their telephone to convert the caller's speech totext.2.7Speech Recognition weakness and flawsBesides all these advantages and benefits, yet a hundred percent perfect speechrecognition system is unable to be developed. There are number of factors that can reducethe accuracy and performance of a speech recognition program. Speech recognition process is easy for a human but it is a difficult task for a machine, comparing with a human mind speech recognition programs seems less intelligent, this is due to that fact that a human mind is God gifted thing and the capability of thinking, understanding and reacting is natural, while for a computer program it is a complicated task, first it need to understand the spoken words with respect to their meanings, and it has to create a sufficient balance between the words, noise and spaces. A human has a built in capability of filtering the noise from a speech while a machine requires training, computer requires help for separating the speech sound from the other sounds.Few factors that are considerable in this regard are [10]:Homonyms: Are the words that are differently spelled and have the differentmeaning but acquires the same meaning, for example “there” “their” “be” and“bee”. This is a challenge for computer machine to distinguish between suchtypes of phrases that sound alike.Overlapping speeches: A second challenge in the process, is tounderstand the speech uttered by different users, current systems have a difficultyto separate simultaneous speeches form multiple users.Noise factor: the program requires hearing the words uttered by a humandistinctly and clearly. Any extra sound can create interference, first you need toplace system away from noisy environments and then speak clearly else themachine will confuse and will mix up the words.2.8The future of speech recognition.? Accuracy will become better and better.? Dictation speech recognition will gradually become accepted.? Greater use will be made of “intelligent systems” which will attempt to guesswhat the speaker intended to say, rather than what was actually said, as peopleoften misspeak and make unintentional mistakes.? Microphone and sound systems will be designed to adapt more quickly tochanging background noise levels, different environments, with betterrecognition of extraneous material to be discarded.2.9 Few Speech recognition softwares2.9.1 XVoiceXVoice is a dictation/continuous speech recognizer that can be used with a variety ofXWindow applications. This software is primarily for users.HomePage:: Institute for Signal and Information Processing at Mississippi State University hasmade its speech recognition engine available. The toolkit includes a front?end, a decoder,and a training module. It's a functional toolkit. This software is primarily for developers.The toolkit (and more information about I SIP) is available Ears isn't fully developed, it is a good starting point for programmers wishingto start in ASR. This software is primarily for developers.FTP site: SphinixSphinx originally started at CMU and has recently been released as open source. This is afairly large program that includes a lot of tools and information. It is still "indevelopment", but includes trainers, recognizers, acoustic models, language models, andsome limited documentation. This software is primarily for developers.Homepage: : ANN ToolkitThe NICO Artificial Neural Network toolkit is a flexible back propagation neuralnetwork toolkit optimized for speech recognition applications.This software is primarily for developers.Its homepage: 3METHODOLOGY AND TOOLS3.1Fundamentals to speech recognitionSpeech recognition is basically the science of talking with the computer,and having it correctly recognized [17]. To elaborate it we have to understand thefollowing terms [4], [13].3.1.1UtterancesWhen user says some things, then this is an utterance [13] in other wordsspeaking a word or a combination of words that means something to thecomputer is called an utterance. Utterances are then sent to speech engineto be processed.3.1.2PronunciationA speech recognition engine uses a process word is its pronunciation, thatrepresents what the speech engine thinks a word should sounds like [4].Words can have the multiple pronunciations associated with them.3.1.3GrammarGrammar uses particular set of rules in order to define the words andphrases that are going to be recognized by speech engine, more conciselygrammar define the domain with which the speech engine works [4].Grammar can be simple as list of words or flexible enough to support thevarious degrees of variations.3.1.4 AccuracyThe performance of the speech recognition system is measurable [4]; theability of recognizer can be measured by calculating its accuracy. It isuseful to identify an utterance.3.1.5VocabulariesVocabularies are the list of words that can be recognized by the speechrecognition engine [4]. Generally the smaller vocabularies are easier toidentify by a speech recognition engine, while a large listing of words aredifficult task to be identified by engine.3.1.6TrainingTraining can be used by the users who have difficulty of speaking orpronouncing certain words, speech recognition systems with trainingshould be able to adapt.3.2Tools1. Smartdraw2000 (For drawing the Gantt chart and Speech Recognition Model)2. Visual Paradigm for UML 7.1 (for Use case and Activity Diagram)5. Ubuntu 18.04 (Operating system)6. Java development kit 1.8.07. Netbeans IDE 8.28. Mozilla Firefox (Web Browser)3.3MethodologyAs an emerging technology, not all developers are familiar with speech recognition technology. While the basic functions of both speech synthesis and speech recognition takes only few minutes to understand (after all, most people learn to speak and listen by age two), there are subtle and powerful capabilities provided by computerized speech that developers will want to understand and utilize. Despite very substantial investment in speech technology research over the last 40 years, speech synthesis and speech recognition technologies still have significant limitations. Most importantly, speech technology does not always meet the high expectations of users familiar with natural human-to-human speech communication. Understanding the limitations - as well as the strengths - is important for effective use of speech input and output in a user interface and for understanding some of the advanced features of the Java Speech API. An understanding of the capabilities and limitations of speech technology is also important for developers in making decisions about whether a particular application willbenefit from the use of speech input and output.3.3.1Speech Synthesis-5848354984751219835-1116965Fig: 3.1 Speech SynthesisFig: 3.1 Speech SynthesisA speech synthesizer converts written text into spoken language. Speech synthesis is alsoreferred to as text-to-speech (TTS) conversion.The major steps in producing speech from text are as follows:Structure analysis: process the input text to determine where paragraphs,sentences and other structures start and end. For most languages, punctuation andformatting data are used in this stage.Text pre-processing: analyze the input text for special constructs of thelanguage. In English, special treatment is required for abbreviations, acronyms, dates, times, numbers, currency amounts, email addresses and many other forms. Other languages need special processing for these forms and most languages have other specialized requirements.The remaining steps convert the spoken text to speech.Text-to-phoneme conversion: convert each word to phonemes. A phoneme is a basic unit of sound in a language. US English has around 45 phonemes including the consonant and vowel sounds. For example, "times" is spoken as four phonemes "t ay m s". Different languages have different sets of sounds (different phonemes). For example, Japanese has fewer phonemes including sounds not found in English, such as "ts" in "tsunami".Prosody analysis: process the sentence structure, words and phonemes to determine appropriate prosody for the sentence. Prosody includes many of the features of speech other than the sounds of the words being spoken. This includes the pitch (or melody), the timing (or rhythm), the pausing, the speaking rate, the emphasis on words and many other features. Correct prosody is important for making speeh sound right and for correctly conveying the meaning of a sentence.Waveform production: finally, the phonemes and prosody information are used to produce the audio waveform for each sentence. There are many ways in which the speech can be produced from the phoneme and prosody information. Most current systems do it in one of two ways: concatenation of chunks of recorded human speech, or formant synthesis using signal processing techniques based on knowledge of how phonemes sound and how prosody affects those phonemes. The details of waveform generation are not typically important to application developers.CHAPTER 4SOFTWARE REQUIREMENT SPECIFICATION4.1 User Characteristics:Customer: - Speech recognition is the ability of a machine or program to identify words or phrases in spoken language and natural speech and convert them into a machine-readable format. The places where this particular technology is already in use are as follows.speech recognition software is used to handle incoming customer callsfirms are already exploring using robots and software to perform initial job interviewsDigital personal assistants like Alexa and Google Home obviously require verbal communication between humans and computers.Aiding the Visually- and Hearing-ImpairedAdmin: -It is a standalone application. A naive user can use the application to control the system. For support you can communicate with the makers.4.2 Hardware and Software Requirements:Minimum Requirement:Hardware requirement: - Processor : 2 GHz Dual Core and above (linux distributions)Primary Memory : 2 GB RAM and above (linux distributions)Hard-Disk : 25 GB and above (linux distributions)Audio: Microphone, Sound Card and SpeakersSoftware requirements: - Operating System : 32 bit operating System (linux distributions / Windows)IDE : Netbeans 8.2Programming Language : Java (JDK 1.8 and above)Tools : CMU Sphinx library (version 4.0)4.3 Intended Use: Speech recognition technology is one from the fast growing engineering technologies. It has a number of applications in different areas and provides potential benefits. Nearly 20% people of the world are suffering from various disabilities; many of them are blind or unable to use their hands effectively. The speech recognition systems in those particular cases provide a significant help to them, so that they can share information with people by operating computer through voice input. This project is designed and developed keeping that factor into mind, and a little effort is made to achieve this aim. Our project is capable to recognize the speech and convert the input audio into system instructions and it enables a user to perform operations such as “open, exit” a program by providing voice input. It also helps the user to open different system software such as opening Webbrowser, music player, creating files and folders. At the initial level effort is made to provide help for basic operations as discussed above, but the software can further be updated and enhanced in order to cover more operations.4.4 System Functionalities:The requirements for an effective voice controlled interactive system in bengali language are as follows:System should be performing all the basic operations by taking input instruction as audio file and can communicate with operating system kernel.It should process speech-to-text as input as well as text-to-speech as feedback along with output. Visually challenged people can also take guidance while they are walking or doing something (Real Time processing with feedback using voice as output)A software for remote operations through voice (Raspberry Pi (SoC) implementation)The above requirements are subsequently the aims of this project. The project will consist of a concept level system that will meet all the above requirements.CHAPTER 5Implementation and Execution5.1 Code:package stt;import edu.cmu.sphinx.frontend.util.Microphone;import edu.cmu.sphinx.recognizer.Recognizer;import edu.cmu.sphinx.result.Result;import edu.cmu.sphinx.util.props.ConfigurationManager;import edu.cmu.sphinx.util.props.PropertyException;import java.io.BufferedReader;import java.io.File;import java.io.*;import java.io.IOException;import java.io.InputStreamReader;import .URL;public class SpeechToText {public static void main(String[] args) { try { URL url; if (args.length > 0) { url = new File(args[0]).toURI().toURL(); } else { url = SpeechToText.class.getResource("stt-config.xml"); } System.out.println("Loading..."); ConfigurationManager cm = new ConfigurationManager(url); Recognizer recognizer = (Recognizer) cm.lookup("recognizer"); Microphone microphone = (Microphone) cm.lookup("microphone"); /* allocate the resource necessary for the recognizer */ recognizer.allocate(); /* the microphone will keep recording until the program exits */ if (microphone.startRecording()) { System.out.println("Say Anything"); while (true) { System.out.println("Start speaking. Press Ctrl-C to quit.\n"); /* * This method will return when the end of speech * is reached. Note that the endpointer will determine * the end of speech. */ Result result = recognizer.recognize(); if (result != null) { String resultText = result.getBestFinalResultNoFiller(); //System.out.println("You said: " + resultText + "\n"); //Modification JavaSystemCall jsc=new JavaSystemCall(); System.out.println("Checking for Validation"); jsc.validation(resultText); // } else { System.out.println("I can't hear what you said.\n"); } } } else { System.out.println("Cannot start microphone."); recognizer.deallocate(); System.exit(1); } } catch (IOException e) { System.err.println("Problem when loading HelloWorld: " + e); e.printStackTrace(); } catch (PropertyException e) { System.err.println("Problem configuring HelloWorld: " + e); e.printStackTrace(); } catch (InstantiationException e) { System.err.println("Problem creating HelloWorld: " + e); e.printStackTrace(); } }}/** * * @author debdeep */class JavaSystemCall { /** * @param args the command line arguments * @throws java.lang.Exception */ public void system(String command) { try { Process process = Runtime.getRuntime().exec(command); BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream())); String line; while ((line = reader.readLine()) != null) { System.out.println(line); if(command.equals("whoami")) { system("espeak Hello -s 150"); system("espeak "+line+" -s 150"); } } reader.close(); } catch (IOException e) { e.printStackTrace(); } } public void validation(String resultText) throws FileNotFoundException { //***************** Firefox Commands********************* if(resultText.equals("open fire fox")) // English { system("espeak Openinng_firefox_for_you -s 150"); system("firefox"); //system("firefox "); //system("firefox google.co.in"); } else if((resultText.equals("fire fox coo low"))) // Bengali { system("espeak fire_fox_kho_laa_hoachtch_a -s 160"); system("firefox"); } //******************************************************* //***************** Terminal Commands********************* else if((resultText.equals("open terminal"))) // English { system("espeak Openinng_terminal_for_you -s 150"); system("gnome-terminal"); } else if((resultText.equals("terminal coo low"))) // Bengali { system("espeak Terminal_kho_laa_hoachtch_a -s 160"); system("gnome-terminal"); } //********************************************************* //***************** gedit Commands************************* else if(resultText.equals("open g a deed")) // English { system("espeak Openinng_gedit_for_you -s 150"); system("gedit"); } else if((resultText.equals("g a deed coo low"))) // Bengali { system("espeak gedit_kho_laa_hoachtch_a -s 160"); system("gedit"); } //********************************************************* //********************** Some Other Commands *************** //************************** Date Command ****************** else if(resultText.equals("show the date")) // English { system("date"); } else if((resultText.equals("date the cow"))) // Bengali { system("date"); } //********************************************************************** //************************** ls command ************************* else if(resultText.equals("show the file list")) // English { system("espeak here_is_the_list_for_you -s 150"); system("ls"); } else if((resultText.equals("sob files the cow"))) // Bengali { system("espeak file_goo_lee_ho_lo -s 160"); system("ls"); } //********************************************************************** // ******************************* Shutdown Command ***************** else if(resultText.equals("shut down the system")) // English { system("espeak system_is_shutting_down -s 150"); system("shutdown -h now"); } else if((resultText.equals("system bond o coo row"))) // Bengali { system("espeak system_bond_o_hoachtch_a -s 160"); system("shutdown -h now"); } //********************************************************************** //********************** Restart Command ****************************** else if(resultText.equals("restart the system")) // English { system("espeak system_is_restaring_for_you -s 150"); system("shutdown -r now"); } else if((resultText.equals("put no ray system start coo row"))) // Bengali { system("espeak system_bond_o_hoachtch_a -s 160"); system("shutdown -r now"); } //********************************************************************** // ******************* Setting Command ******************************** else if(resultText.equals("open settings")) // English { system("espeak openning_system_setting_for_you -s 150"); system("gnome-control-center"); } else if((resultText.equals("setting cow low"))) // Bengali { system("espeak system_setting_khola_hoachtch_a -s 160"); system("gnome-control-center"); } //********************************************************************** //*********************** Who am I Command ***************************** else if(resultText.equals("who am i")) // Present User { system("whoami"); //System("who"); } else if(resultText.equals("open wire shark")) // Extra ###### { system("espeak Openinng_wireshark_for_you -s 150"); system("wireshark"); } else { system("espeak Can't_Recognize -s 150"); system("espeak please_try_again -s 150"); System.out.println("Validation Failed"); } }}5.2 Output:-Staring of the Project :-center635Running :-center635Terminal Opening Command:-center635Firefox Opening :-0635Gedit opening :-center635Failed :- center635 Results:For Speaker 1:CommandsTrySuccessfullUnsuccessfullSuccess RatioOpen Terminal10730.7Open Firefox10550.5Open Gedit10370.3List all files10460.4System Restart10370.3System shutdown10460.4Open Settings10550.5For Speaker 2:CommandsTrySuccessfullUnsuccessfullSuccess RatioOpen Terminal10460.4Open Firefox10550.5Open Gedit10370.3List all files10550.5System Restart10370.3System shutdown10370.3Open Settings10460.4CHAPTER 6CONCLUSION6.1Advantages of softwareAble to write the text through both keyboard and voice input. Voice recognition of different notepad commands such as open save and clear. Open different windows soft wares, based on voice input. Requires less consumption of time in writing text.Provide significant help for the people with disabilities. Lower operational costs.6.2DisadvantagesLow accuracyNot good in the noisy environment6.3Future EnhancementsThis work can be taken into more detail and more work can be done on theproject in order to bring modifications and additional features. The current softwaredoesn’t support a large vocabulary, the work will be done in order to accumulatemore number of samples and increase the efficiency of the software. The currentversion of the software supports only few areas but more areas can be covered and effort will be made in this regard.6.4ConclusionThis Thesis/Project work of speech recognition started with a brief introductionof the technology and its applications in different sectors. The project part of theReport was based on software development for speech recognition. At the later stagewe discussed different tools for bringing that idea into practical work. After thedevelopment of the software finally it was tested and results were discussed, fewdeficiencies factors were brought in front. After the testing work, advantages of thesoftware were described and suggestions for further enhancement and improvementwere discussed.REFERENCESBOOKS[1] “Speech recognition- The next revolution” 5 th edition.[2] Ksenia Shalonova, “Automatic Speech Recognition” 07 DEC 2007Source:[4] "Fundamentals of Speech Recognition". L. Rabiner & B. Juang. 1993. ISBN: 0130151572.[5] "Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics and Speech Recognition". D. Jurafsky, J. Martin. 2000. ISBN: 0130950696.[15] B.H. Juang & Lawrence R. Rabiner, “Automatic Speech Recognition – A Brief History of the Technology Development” 10/08/2004 Source:[13] Stephen Cook “”Speech Recognition HOWTO” Revision v2.0 April 19, 2002Source: [3] [7] Charu Joshi “Speech Recognition”Source: Added 04/21/2008[8] John Kirriemuir “Speech recognition technologies” March 30 th 2003[9] last updated: 30 th October 2009[10] [11][12] Visited: 12NOV2009 ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download