Fuzzy String Alignment via Term Distance Cost Matrix

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Computing systems face challenges in accurately and efficiently applying fuzzy logic due to their binary nature and limited resources, particularly in tasks like string matching, where semantics and meaning are not adequately considered by general rule-based approaches.

Innovation Solution

A method and system for computing term distances between string terms, generating a cost matrix, selecting candidate alignments, and outputting a match identifier, which includes tokenization, term distance calculation, cost matrix generation, alignment scoring, and selection, allowing for flexible algorithms based on resource usage and accuracy requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If general rule-based approaches are used for string matching, then the system is simple and fast, but it does not consider semantics and meaning of strings

Engineering Contradiction:
Improvestring matching accuracyVSAvoidalgorithm complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments strings into individual terms and compares them pairwise, computing term distances for each term pair. This segmentation allows the system to consider semantic meaning of individual terms while maintaining computational efficiency through modular processing of term pairs rather than treating entire strings as single units.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a cost matrix as an intermediary structure that stores term distances between all pairs of terms from two strings. This cost matrix serves as a mediator between the raw string data and the final alignment decision, enabling semantic comparison through structured intermediate representation that captures term-level relationships.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If fuzzy logic is applied with high accuracy, then string matching precision improves, but computing resource consumption increases

Engineering Contradiction:
Improvestring matching accuracyVSAvoidcomputing resource usage
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent generates multiple candidate alignments and scores them, but only processes a limited number of top candidates rather than exhaustively evaluating all possible alignments. This partial action approach provides high accuracy by considering multiple possibilities while controlling computational resources by limiting the number of candidates processed to a manageable subset.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent computes term distances using configurable parameters such as keyboard adjacency thresholds and vowel matching rules, allowing the system to adjust the level of fuzzy matching based on resource availability and accuracy requirements. These parameter changes enable flexible control over computational intensity versus matching precision.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If multiple candidate alignments are generated and scored, then matching accuracy improves, but processing time increases

Engineering Contradiction:
Improvealignment accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary computation of term distances between all term pairs and stores them in a cost matrix before generating candidate alignments. This preliminary action pre-processes the data in a way that speeds up subsequent alignment generation and scoring, reducing the time penalty of evaluating multiple candidates by having term distances readily available.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces exhaustive mechanical enumeration of all possible alignments with a scoring model that efficiently evaluates candidate alignments based on pre-computed term distances. This substitution uses a mathematical scoring approach instead of brute-force mechanical comparison, reducing processing time while maintaining accuracy through intelligent candidate selection and scoring.

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

Data Source

PatentUS11615243B1Fuzzy string alignment
Publication Date: 2023.03.28 INTUIT INC
  • US11615243B1 patent drawing
  • US11615243B1 patent drawing
  • US11615243B1 patent drawing

AI summary

A method includes computing multiple term distances between pairs of multiple first string terms in a first string and multiple second string terms in a second string, generating a cost matrix based on the term distances, and selecting a set of candidate alignments based on the cost matrix. The method further includes generating multiple alignment scores for the set of candidate alignments, and selecting, from the set of candidate alignments, an alignment between the first string and the second string based on the alignment scores. The method further includes outputting a match identifier based on the alignment.