Syntax analysis program, syntax analysis method, syntax analysis device, and computer-readable medium storing syntax analysis program
First Claim
1. A syntax analysis program that makes a computer execute steps comprising:
- an input step for inputting a sentence of a natural language;
an analysis step for executing a morphological analysis and a syntax analysis with respect to the input sentence inputted in said input step;
an extract ion step for extracting the most similar analyzed corpus to the input sentence from an analyzed corpus database;
a similarity calculation step for calculating the similarity between each analysis candidate and the extracted analyzed corpus when a plurality of analysis candidates are acquired in said analysis step, and an output step for outputting the analysis candidate with the maximum similarity as an analysis result when a plurality of analysis candidates are acquired in said analysis step or for outputting the analysis result acquired in said analysis step when only one analysis result is acquired in said analysis step.
1 Assignment
0 Petitions
Accused Products
Abstract
A syntax analysis program includes an input step for inputting a sentence of a natural language, an analysis step for executing a morphological analysis and a syntax analysis with respect to the input sentence inputted in the input step, an extraction step for extracting the most similar analyzed corpus to the input sentence from an analyzed corpus database, a similarity calculation step for calculating the similarity between each analysis candidate and the extracted analyzed corpus when a plurality of analysis candidates are acquired in the analysis step, and an output step for outputting the analysis candidate with the maximum similarity as an analysis result when a plurality of analysis candidates are acquired in the analysis step or for outputting the analysis result acquired in the analysis step when only one analysis result is acquired in the analysis step.
10 Citations
8 Claims
-
1. A syntax analysis program that makes a computer execute steps comprising:
-
an input step for inputting a sentence of a natural language;
an analysis step for executing a morphological analysis and a syntax analysis with respect to the input sentence inputted in said input step;
an extract ion step for extracting the most similar analyzed corpus to the input sentence from an analyzed corpus database;
a similarity calculation step for calculating the similarity between each analysis candidate and the extracted analyzed corpus when a plurality of analysis candidates are acquired in said analysis step, and an output step for outputting the analysis candidate with the maximum similarity as an analysis result when a plurality of analysis candidates are acquired in said analysis step or for outputting the analysis result acquired in said analysis step when only one analysis result is acquired in said analysis step. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A syntax analysis method that analyzes syntax with a programmed computer, said method comprising:
-
an input step for inputting a sentence of a natural language;
an analysis step for executing a morphological analysis and a syntax analysis with respect to the input sentence inputted in said input step;
an extraction step for extracting the most similar analyzed corpus to the input sentence from an analyzed corpus database;
a similarity calculation step for calculating the similarity between each analysis candidate and the extracted analyzed corpus when a plurality of analysis candidates are acquired in said analysis step, and an output step for outputting the analysis candidate with the maximum similarity as an analysis result when a plurality of analysis candidates are acquired in said analysis step or for outputting the analysis result acquired in said analysis step when only one analysis result is acquired in said analysis step.
-
-
7. A syntax analysis device that analyzes syntax with a programmed computer, said device comprising:
-
an input section for inputting a sentence of a natural language;
an analysis section for executing a morphological analysis and a syntax analysis with respect to the input sentence inputted in said input section;
an extract ion section for extracting the most similar analyzed corpus to the input sentence from an analyzed corpus database;
a similarity calculation section for calculating the similarity between each analysis candidate and the extracted analyzed corpus when a plurality of analysis candidates are acquired in said analysis section, and an output section for outputting the analysis candidate with the maximum similarity as an analysis result when a plurality of analysis candidates are acquired in said analysis section or for outputting the analysis result acquired in said analysis section when only one analysis result is acquired in said analysis section.
-
-
8. A computer-readable medium storing a syntax analysis program that makes a computer execute steps comprising:
-
an input step for inputting a sentence of a natural language;
an analysis step for executing a morphological analysis and a syntax analysis with respect to the input sentence inputted in said input step;
an extraction step for extracting the most similar analyzed corpus to the input sentence from an analyzed corpus database;
a similarity calculation step for calculating the similarity between each analysis candidate and the extracted analyzed corpus when a plurality of analysis candidates are acquired in said analysis step, and an output step for outputting the analysis candidate with the maximum similarity as an analysis result when a plurality of analysis candidates are acquired in said analysis step or for outputting the analysis result acquired in said analysis step when only one analysis result is acquired in said analysis step.
-
Specification