Natural language recognizing apparatus and natural language recognizing method
First Claim
1. A natural language recognizing apparatus, comprising:
- an input device, configured to provide a natural language data;
a storage device, configured to store a plurality of program modules, wherein the plurality of program modules comprise a grammar analysis module; and
a processing device, coupled to the input device and the storage device, the processing device receives the natural language data, and executes the plurality of program modules, wherein the processing device executes the grammar analysis module to analyze the natural language data through a formal grammar model and generates a plurality of string data,wherein when the processing device determines that at least one of the plurality of string data conforms to a preset valid grammar condition, the processing device determines that the at least one of the string data is an intention data, and the processing device outputs a corresponding response signal according to the intention data,wherein the formal grammar model comprises a variable symbol, a terminal symbol, a grammar rule, a start symbol and a modifier symbol, and the processing device generates the plurality of string data according to the variable symbol, the terminal symbol, the grammar rule, the start symbol and the modifier symbol by executing the grammar analysis module.
1 Assignment
0 Petitions
Accused Products
Abstract
A natural language recognizing apparatus including an input device, a processing device and a storage device is provided. The input device is configured to provide a natural language data. The storage device is configured to store a plurality of program modules. The program modules include a grammar analysis module. The processing device executes the grammar analysis module to analyze the natural language data through a formal grammar model, and generate a plurality of string data. When at least one of the string data conforms to a preset grammar condition, the processing device judges the at least one of the string data is an intention data, and the processing device outputs a corresponding response signal according to the intention data. In addition, a natural language recognizing method is also provided.
-
Citations
12 Claims
-
1. A natural language recognizing apparatus, comprising:
-
an input device, configured to provide a natural language data; a storage device, configured to store a plurality of program modules, wherein the plurality of program modules comprise a grammar analysis module; and a processing device, coupled to the input device and the storage device, the processing device receives the natural language data, and executes the plurality of program modules, wherein the processing device executes the grammar analysis module to analyze the natural language data through a formal grammar model and generates a plurality of string data, wherein when the processing device determines that at least one of the plurality of string data conforms to a preset valid grammar condition, the processing device determines that the at least one of the string data is an intention data, and the processing device outputs a corresponding response signal according to the intention data, wherein the formal grammar model comprises a variable symbol, a terminal symbol, a grammar rule, a start symbol and a modifier symbol, and the processing device generates the plurality of string data according to the variable symbol, the terminal symbol, the grammar rule, the start symbol and the modifier symbol by executing the grammar analysis module. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A natural language recognizing method, adapted for a natural language recognizing apparatus, wherein the natural language recognizing apparatus comprises an input device and a storage device, and the storage device stores a plurality of program modules, wherein the natural language recognizing method comprises:
-
receiving a natural language data by the input device, and executing the plurality of modules; analyzing the natural language data through a formal grammar model by executing a grammar analysis module, and generating a plurality of string data; and when at least one of the plurality of string data conforms to a preset valid grammar condition, determining that the at least one of the string data is an intention data, and outputting a corresponding response signal according to the intention data, wherein the formal grammar model comprises a variable symbol, a terminal symbol, a grammar rule, a start symbol and a modifier symbol, wherein the step of analyzing the natural language data through the formal grammar model by executing the grammar analysis module and generating the plurality of string data comprises; generating the plurality of string data according to the variable symbol, the terminal symbol, the grammar rule, the start symbol and the modifier symbol by executing the grammar analysis module. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification