Text Analysis Using DAG String Representation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional Natural Language Processing (NLP) systems, particularly those using Constraint Grammars, face challenges due to complex graph representations that are difficult to program and are often machine-dependent, limiting their portability across languages.

Innovation Solution

Representing Directed Acyclic Graphs (DAGs) as 'DAG' strings and processing them using simple finite state automata, allowing for the application of regular expressions to split and constrain text analysis, enabling faster and more portable text analysis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If Constraint Grammars with Directed Acyclic Graphs are used for text analysis, then accuracy and robustness are improved, but device complexity and difficulty of implementation increase significantly

Engineering Contradiction:
Improvetext analysis accuracyVSAvoidgraph representation complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a simplified copy or representation of the complex DAG structure using regular expressions. Instead of implementing full graph theory algorithms, the invention uses regex patterns that replicate the constraint-checking functionality of DAGs in a much simpler form that is easier to program and execute.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent replaces the mechanical graph-based system (DAGs with nodes and edges requiring complex traversal algorithms) with a regular expression system. This substitution transforms the problem from graph theory operations to pattern matching operations, which are fundamentally simpler and more portable across different programming environments.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Adaptability or versatility

If complex DAG representations are used, then text analysis capability is improved, but ease of operation and programming simplicity deteriorate

Engineering Contradiction:
Improvelanguage processing capabilityVSAvoidprogramming simplicity
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The invention creates a simplified regex-based copy of the DAG constraint system. The regular expressions capture the essential constraint-checking behavior without requiring implementation of full graph data structures and traversal algorithms, making the system easier to program while preserving language processing capabilities.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent changes the fundamental parameters of the representation system from graph-theoretic concepts (nodes, edges, paths) to regular expression patterns. This parameter change transforms the system from requiring complex graph algorithms to using standard pattern matching, significantly improving ease of operation and programming.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If machine-dependent graph algorithms are used, then text analysis precision is improved, but adaptability across different languages and systems decreases

Engineering Contradiction:
Improvetagging accuracyVSAvoidcross-language portability
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent makes the constraint checking system universal by using regular expressions, which are a standardized language understood across virtually all programming environments and languages. This allows the same regex-based constraint checking to be applied consistently across different languages and systems without requiring machine-dependent graph algorithm implementations.

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

Solution Approach 2:

By replacing machine-dependent graph algorithms with regular expressions, the invention achieves cross-language portability. Regular expressions provide a universal mechanism for pattern matching that works consistently across different programming languages and systems, eliminating the portability issues associated with graph-based implementations.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS7657422B2System and method for text analysis
Publication Date: 2010.02.02 KYNDRYL INC
  • US7657422B2 patent drawing
  • US7657422B2 patent drawing
  • US7657422B2 patent drawing

AI summary

A method and system for generating a Directed Acyclic Graph (DAG) from an initial multi-chain, subject to a constraint. The initial multi-chain is expressed as a string serving as a current input string to which the constraint is subsequently applied. A provided string P expresses the constraint. P is applied to the current input string to generate at least one output string, wherein each generated output string violates the constraint to a lesser extent than does the input string or does not violate the constraint. Each generated output string violating the constraint serves as a current input string to which the constraint is subsequently applied. P is recursively applied to each current input string that had been determined from applying P previously, until applying P does not generate any more output strings violating the constraint. A set of the generated output strings not violating the constraint represents the DAG.