Hierarchical Pattern Structure for Text Search Modification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional pattern matching tools, such as regular expressions, use terse syntax that makes it difficult for users to read, write, understand, and modify patterns, leading to user errors and inefficiencies in creating and modifying complex patterns for text searches.
Innovation Solution
A system and method for generating and modifying patterns using a hierarchical structure that stores values, allowing users to define patterns through intuitive instructions and visualize the pattern structure, enabling easy modification and implementation of pattern matching functions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If conventional pattern matching tools use terse syntax, then pattern matching functionality is achieved, but user understanding and modification difficulty increases
Solution Approach 1:
The patent segments complex patterns into hierarchical components organized in a tree structure, where each node represents a manageable portion of the pattern. This allows users to understand and modify specific segments without being overwhelmed by the entire pattern's complexity, directly addressing the contradiction between pattern functionality and user comprehension.
Solution Approach 2:
The patent implements nested pattern structures where patterns can contain sub-patterns at multiple hierarchical levels. This nesting approach allows complex patterns to be built from simpler components, making them easier to understand and modify while maintaining full pattern matching functionality.
2Ease of operation
If patterns are made more intuitive and visual, then user friendliness improves, but system complexity increases
Solution Approach 1:
The patent transitions from one-dimensional linear pattern syntax to a two-dimensional hierarchical tree structure with visual representation. This dimensional change allows patterns to be displayed graphically with nodes and edges, making them more intuitive and visual while the underlying system manages the increased structural complexity.
3Ease of operation
If hierarchical structure is implemented, then pattern modification ease improves, but data structure complexity increases
Solution Approach 1:
The hierarchical tree structure segments patterns into discrete nodes that can be independently modified. Users can target specific nodes for modification without affecting the entire pattern, making pattern modification easier despite the increased data structure complexity required to maintain the hierarchy.
Solution Approach 2:
The patent creates a universal hierarchical data structure that can represent various types of patterns and their modifications through standardized node operations. This multi-functional structure handles creation, modification, and visualization of patterns through a unified interface, managing data structure complexity while providing ease of operation.
Data Source
AI summary
Systems and methods may generate or modify a pattern, to search text, utilizing a hierarchical structure. The system and method may receive instructions for generating or modifying the pattern. The system and methods may identify or generate a hierarchical structure containing one or more levels each of which includes one or more objects that store values. The system and method may define a pattern by assigning values to the hierarchical structure when the instructions are for generating the pattern; or may modify one or more values in the hierarchical structure when the instructions are for modifying the pattern. The system and method may receive pattern matching instructions. The system and method may identify, based on the pattern matching instructions and utilizing the hierarchical structure, one or more portions of the program that includes the generated or modified pattern and implement one or more pattern matching functions to provide results.


