Dynamic Parsing Algorithm for Natural Language Ambiguity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Natural language processing methods face ambiguities in lexical categories and grammatical rules, leading to incomplete parses and misclassification of grammatically correct sentences as ungrammatical, especially when regular production rules are insufficient to cover the entire grammar of a language.

Innovation Solution

A parsing algorithm that switches between regular and artificial production rules, generating artificial rules based on input sequences and intermediate parsing results to ensure complete parsing, even for ungrammatical sentences, by applying these rules in a recovery mode when regular rules fail to provide a valid parse.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If only regular production rules are used for parsing, then the parsing process maintains simplicity and follows standard grammatical rules, but the parsing is incomplete and may misclassify grammatically correct sentences as ungrammatical when regular rules are insufficient

Engineering Contradiction:
Improveparsing completenessVSAvoidparsing algorithm complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The parsing algorithm dynamically switches between first mode (regular production rules only) and second mode (regular plus artificial production rules) based on whether a complete parse tree is generated. This dynamic adaptation allows the system to maintain simplicity when regular rules suffice while automatically invoking artificial rules when parsing completeness is compromised.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of rule set composition by introducing artificial production rules with low probability values. These artificial rules are generated on-demand to cover grammatical patterns not captured by regular rules, thereby improving parsing completeness without permanently increasing system complexity.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If artificial production rules are generated and applied to ensure complete parsing, then parsing completeness improves for all input sequences including ungrammatical sentences, but the complexity of the parsing system increases due to rule generation and mode switching

Engineering Contradiction:
Improveparsing accuracyVSAvoidparsing system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The parsing system is segmented into two distinct operational modes: first mode using only regular production rules for standard cases, and second mode using both regular and artificial production rules for recovery cases. This segmentation allows the complex artificial rule generation mechanism to remain dormant during normal operation, reducing average system complexity while ensuring high reliability when needed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The control unit acts as an intermediary that monitors parsing progress and determines when to switch between modes. It generates artificial production rules only when the first mode parsing fails to produce a complete parse tree, thereby mediating between the simplicity of regular rules and the completeness provided by artificial rules.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If artificial production rules are used to recover from missing grammar rules, then the system can handle ungrammatical and ambiguous sentences, but the use of artificial rules may reduce parsing precision if overused

Engineering Contradiction:
Improvelanguage processing coverageVSAvoidlexical category classification accuracy
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

Artificial production rules are assigned low probability values to distinguish them from regular grammatical rules. This parameter differentiation allows the parsing algorithm to prefer regular rules when multiple rules apply, thereby maintaining precision while still allowing artificial rules to provide coverage for ungrammatical or ambiguous inputs when necessary.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9472189B2Language processing method and integrated circuit
Publication Date: 2016.10.18 SONY GROUP CORP
  • US9472189B2 patent drawing
  • US9472189B2 patent drawing
  • US9472189B2 patent drawing

AI summary

A parse unit parses an input sequence of token elements for an input string, wherein each token element contains a token and/or at least one corresponding token classifier. In a first mode the parse unit applies regular production rules on the token elements and on multi-token classifiers for phrases obtained from the token classifiers. If the first mode parsing does not result in a multi-token classifier encompassing all tokens of the input string, a control unit controls the parse unit to parse the input sequence in a second mode that applies both the regular and artificial production rules. A rule generator unit generates the artificial production rules based on the input sequence and/or intermediate results of the parsing. The parser unit provides a complete parse tree for ungrammatical sentences and a solution where the regular production rules do not cover the complete grammar of the respective natural language.