Multilingual Text Tokenization via Character Attribute Intersection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current tokenization methods are inefficient and complex, especially when dealing with multilingual texts, as they rely on delimiters which require parsing for each character and are not adapted for intermixed languages, leading to increased storage and processing time.

Innovation Solution

A method that determines the attributes of characters and uses Boolean operations to group characters into tokens based on intersecting attributes, allowing for efficient tokenization without the need for delimiters and supporting multilingual texts by using a primitive data type and Boolean operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If delimiter-based tokenization is used, then basic language words can be identified, but storage and processing time increase due to parsing requirements for each delimiter

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

Solution Approach 1:

The patent changes the parameter representation from character codes to attribute values. Each character is represented by an attribute value indicating its class membership, allowing direct comparison without delimiter parsing. This parameter transformation enables O(1) token boundary detection compared to the O(n) delimiter scanning in traditional approaches.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces the mechanical delimiter-matching process with a mathematical attribute comparison system. Instead of sequentially scanning for delimiter characters, the system uses attribute value intersection logic to determine token boundaries, substituting computational mechanics with mathematical operations.

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

2Measurement precision

If delimiter-based tokenization is used, then basic language words can be identified, but storage requirements increase due to delimiter parsing overhead

Engineering Contradiction:
Improvetokenization accuracyVSAvoidstorage space
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent transforms the storage representation from storing actual delimiter characters and their positions to storing compact attribute values that encode class membership information. This parameter change reduces the storage footprint while maintaining tokenization accuracy.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If traditional tokenization methods are used, then single-language text can be processed, but the system is not adapted for intermixed input text written in two or more languages

Engineering Contradiction:
Improvesingle-language processing reliabilityVSAvoidmultilingual adaptability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal tokenization framework where characters from any language are represented by a common attribute system. The attribute values indicate class membership that works across multiple languages, allowing the same tokenization logic to handle both single-language and multilingual text effectively.

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

Solution Approach 2:

The patent changes the representation parameter from language-specific character properties to language-agnostic attribute values. This parameter transformation enables the tokenization system to handle intermixed languages by comparing attribute intersections rather than language-specific delimiters.

Inventive Principle:
Principle #35Parameter changes

4Productivity

If delimiter-based tokenization is used, then text can be split into tokens, but the process becomes overly complicated with multiple parsing steps

Engineering Contradiction:
Improvetokenization throughputVSAvoidtokenization process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent extracts the essential token boundary information into attribute values, separating the tokenization logic from the actual text content. This extraction simplifies the process by removing the need for complex delimiter parsing while retaining the core functionality of identifying token boundaries.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent simplifies the tokenization process by changing from multi-step delimiter parsing to a single attribute comparison step. The parameter transformation enables direct determination of token boundaries through attribute intersection logic, reducing process complexity.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9208134B2Methods and systems for tokenizing multilingual textual documents
Publication Date: 2015.12.08 KING ABDULAZIZ CITY FOR SCIENCE AND TECHNOLOGY
  • US9208134B2 patent drawing
  • US9208134B2 patent drawing
  • US9208134B2 patent drawing

AI summary

Methods and systems for tokenizing multilingual textual documents are provided. A method implemented in a computer infrastructure, includes determining an attribute of a current character in input text, the attribute of the current character indicating one or more classes of characters the current character is assigned thereto. The method further includes determining one or more attributes of one or more next characters in the input text, the one or more attributes of the one or more next characters indicating the one or more classes the one or more next characters are assigned thereto. The method further includes constructing a token of the input text that includes the current character and the one or more next characters, the attribute of the current character and the one or more attributes of the one or more next characters intersecting with each other.