Self-learning Annotation System for Rule-Based Parsing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Designing rule-based systems that parse strings of words into parse trees requires natural language processing expertise, limiting their accessibility and generality.

Innovation Solution

A computer-implemented method that analyzes strings of words to generate parse trees, allowing users without natural language processing expertise to select and annotate nodes and edges, creating grammatical rules for generating parse trees based on user-marked annotations, using a system that includes a parser, grammatical rule generator, template creator, and rule optimizer to develop generic rules compliant with existing grammatical patterns.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional rule-based systems are designed with expert-defined grammatical rules, then parsing accuracy is improved, but system complexity and accessibility deteriorate

Engineering Contradiction:
Improveparsing accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system allows users to define their own grammatical rules through intuitive annotation of parse trees without requiring expert knowledge. The parser automatically generates rules based on user selections, enabling non-experts to create customized parsing systems for their specific domains.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The parse tree serves as an intermediary representation between the input string and the grammatical rules. Users interact with the visual parse tree structure to define rules, which then feed back into the parser, creating a mediating layer that simplifies rule creation while maintaining parsing accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If expert-defined grammatical rules are used, then parsing precision is improved, but ease of operation deteriorates

Engineering Contradiction:
Improveparsing precisionVSAvoidease of operation
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

Users can independently create and customize grammatical rules by annotating parse trees according to their specific needs without requiring natural language processing expertise. The system automatically processes these annotations into functional rules.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system transforms the complex parameter space of grammatical rule definitions into simple user interactions with parse tree nodes and edges. Users only need to select elements visually, and the system handles the complex rule generation process automatically.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If customized grammatical rules are created for specific applications, then adaptability is improved, but device complexity increases

Engineering Contradiction:
ImproveadaptabilityVSAvoiddevice complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The grammatical rule system is segmented into modular components that can be independently defined and customized. Each rule can be created separately through parse tree annotation, allowing users to build customized parsing systems for specific domains without overwhelming complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The same parse tree annotation mechanism serves multiple functions: visualizing the parse structure, enabling rule definition, and providing feedback for rule refinement. This universal interface simplifies the customization process while maintaining adaptability to different applications.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12106045B2Self-learning annotations to generate rules to be utilized by rule-based system
Publication Date: 2024.10.01 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12106045B2 patent drawing
  • US12106045B2 patent drawing
  • US12106045B2 patent drawing

AI summary

A computer-implemented method, system and computer program product for generating rules to be utilized by a rule-based system. A parser analyzes a received string of words according to grammatical rules to generate a parse tree. The parse tree may then be reviewed by a user to determine if such a parse tree represents the appropriate syntactic structure of the string of words. If the user believes that the parse tree does not represent the appropriate syntactic structure of the string, then the user, who does not need to possess the expertise of natural language processing, may select the nodes and/or edges of the parse tree in a particular order that corresponds to the correct syntactic structure of the string of words. A grammatical rule is then created for parsing the string of words based on the user selection of nodes and/or edges of the parse tree in a particular order.