Generic natural language service creation environment

Data processing: speech signal processing – linguistics – language – Linguistics – Natural language

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C704S257000

Reexamination Certificate

active

06684183

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention is directed to a system which provides for simple creation of grammar files, which can be used for natural language parsing. More particularly, the system learns the grammar via a graphical user interface from examples of possible text strings and outputs a grammar file using a specific format for use with a particular automatic speech recognition engine.
2. Description of the Related Art
Teaching computers to understand a naturally spoken language is a difficult and evolving field. The natural language has to be entered into a computer, and then processed by the computer so its contents are understood by the computer (parsing).
Naturally spoken language can be entered into a computer by numerous methods, such as typing on a keyboard or by speaking words into a microphone. The spoken words are then analyzed by an Automatic Speech Recognition (ASR) engine and translated into their textual equivalent (speech to text). The spoken words can also be spoken by a user via a telephone to the processing computer. Such a system allows a computer to carry out tasks previously requiring a human being, such as conducting banking transactions.
In order to carry out speech to text processing, an ASR engine must be programmed to understand certain words. Defining the syntax for a set of sentences that are valid at each state in an ASR transaction is a difficult task for the most experienced linguist. Understanding the language structure and the words of the target language is required. Translating this into a standard formalism understood by a computer or software developer adds even more complexity to the task.
Once the spoken words are translated into text by a programmed ASR engine, the text still needs to be parsed. One method of parsing language is known as Syntactic Parsing, in which rules are entered describing the relationship of words in a particular language. See U.S. Pat. No. 5,960,384, “Method and Device for Parsing Natural Language Sentences and Other Sequential Symbolic Expressions” for a more complete discussion of parsing.
One approach for defining words that are meaningful and their relationships is called a Backus Normal Form (“BNF”) grammar. For example, the following are BNF grammar rules:
<object>=“window”|“door”;
<operation>=“open”|“close”;
<command>=<operation>the <object>
This small set of BNF grammar rules contains three definitions, the <object>, <operation> and <command>. There are two possible objects (“window” and “door”), two possible operations (“open” and “close”), and four possible commands (“open the window”, “close the door”, “open the door”, and “close the window”). Thus, when a computer receives the naturally spoken phrase of “open the window,” it will search the grammar rules until it finds the word “open” which it will interpret to be an <operation>. It will similarly process the word “window” which it would find to be an <object>. The phrase then becomes “<operation> the <object>” which the computer will find in the grammar rules to be a <command>. Therefore, the input string of “open the window,” based on the BNF grammar entered, will be interpreted by a computer to be a <command>, wherein the <operation>=“open” and the <object>=“window.” Once this information is obtained, it would typically then be passed to another routine or computer for further processing. For example, a voice activated robot using the grammar rules listed above would first parse the spoken phrase “open the window,” then pass the command to another module of the robot so the command can actually be carried out.
The above example is very simple, however in order to define a BNF grammar which has practical applications, all variations of a natural language command should be considered. For example, using the above grammar rules, the phrase “shut the door” would not be recognized because of the undefined word “shut.” For a set of grammar rules to be implemented as part of a practical application, tens of thousands of rules may need to be defined, an arduous task.
There are many proprietary types of ASRs which use BNF grammar, however there is no standard format for inputting a BNF grammar into an ASR. If one generic set of BNF grammar is to be used with numerous ASR engines, then each grammar set will have to be specifically translated to run on that engine. With a large set of grammar rules, such translation would be very time consuming.
Previously, the only way to create a set of grammar rules for a specific ASR engine is to use the proprietary tools provided by the specific vendor of the ASR engine. There are no industry standards. These tools are not extendable across multiple vendors. Conversion from BNF to a vendor specific syntax is a one-to-one mapping that is generated by a Context Free Grammar (CFG) conversion. The conversion is done prior to run-time, and is specific to the technology implemented on the target platform.
In addition, creating a large set of rules can be a very difficult and time consuming process. Grammar rules are typically entered by entering one definition at a time using a text interface.
What is needed is a system which allows for an easy and intuitive way to create grammar rules. What is also needed is a way to generate grammar rules specific for any ASR engine, without the user having knowledge of specific ASR engine syntax.
SUMMARY OF THE INVENTION
Various embodiments of the invention include a method and apparatus creating a set of grammar rules using a graphical user interface; creating a set of grammar rules by analyzing examples provided by the user; creating grammar rules for a variety of ASR engines without the operator having personal knowledge of each particular ASR format; reading proprietary ASR engine files and allowing a user to modify them using the methods described herein; and accepting queries from a user and using the ASR files generated by the methods or apparatus described herein to process the query.


REFERENCES:
patent: 5390279 (1995-02-01), Strong
patent: 5642519 (1997-06-01), Martin
patent: 5799276 (1998-08-01), Komissarchik et al.
patent: 5937385 (1999-08-01), Zadrozny et al.
patent: 5960384 (1999-09-01), Brash
patent: 5995918 (1999-11-01), Kendall

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Generic natural language service creation environment does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Generic natural language service creation environment, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Generic natural language service creation environment will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3266966

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.