Parsing Methods for Context-Free Grammars
A parsing method and context technology, applied in the parsing field of context-free grammars, can solve the problems of large search space and long time, and achieve the effect of reducing search space, improving efficiency, and saving parsing time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] In order to have a more specific understanding of the technical content, characteristics and effects of the present invention, now in conjunction with the illustrated embodiment, the details are as follows:
[0039] The analysis method of the context-free grammar of the present invention introduces three methods to improve the analysis efficiency in the analysis algorithm of the current context-free grammar, namely, the index hash of the first word of the rule, the query hash of the first word of the state jump and the analysis result of the rule The reuse of these three methods can be used at the same time to maximize the efficiency of parsing, or only any one of them can be used, or any two of them can be used. Below are detailed descriptions of the three methods.
[0040]First of all, the present invention introduces rule prefix hash into the current parsing algorithm of context-free grammar. Since there is only one grammatical rule that can finally match an input s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


