Bidirectional Text Checker for Mixed Direction Scripts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Implementing bidirectional text support in applications is challenging due to the difficulty in correctly handling text direction, leading to frequent errors in displaying and inputting text in languages like Hebrew and Arabic, which are written in right-to-left scripts, especially when mixed with left-to-right languages.

Innovation Solution

A system and method for checking bidirectional text errors by determining the intrinsic and declared text direction of text parts, generating errors based on mismatches, and reporting them, using a walker, bidirectional text checker, and error reporter to ensure correct display and input handling.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If bidirectional text support is implemented in applications, then the application can display and handle text in multiple languages (Hebrew, Arabic, etc.), but the complexity of implementation increases and errors in text direction handling occur frequently

Engineering Contradiction:
Improvelanguage support capabilityVSAvoidimplementation complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements a feedback mechanism by automatically detecting the intrinsic direction of text parts and comparing it with the declared direction. The system generates error reports when mismatches are found, providing continuous feedback to developers about bidirectional text handling issues. This automated feedback loop helps maintain bidirectional text support without requiring manual verification at every point of text display or input.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs self-service by automatically analyzing text content to determine intrinsic direction and comparing it with declared direction attributes. The bidirectional text checker autonomously identifies errors and generates reports without requiring external manual intervention, thereby reducing the burden on developers while maintaining high language support capability.

Inventive Principle:
Principle #25Self-service

2Reliability

If special handling is added at every point of text display and input to ensure bidirectional support, then text direction accuracy improves, but the complexity and time required for development increases

Engineering Contradiction:
Improvetext direction accuracyVSAvoiddevelopment time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by implementing bidirectional text checking as part of the automated testing and validation process. The system proactively detects direction mismatches before the application is deployed, rather than requiring developers to manually verify each text element. This preliminary detection mechanism ensures text direction accuracy while reducing the time developers would otherwise spend on manual verification and debugging.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The automated error reporting provides immediate feedback to developers about bidirectional text issues, allowing for quick correction without extensive manual testing. This feedback mechanism maintains high text direction accuracy while minimizing the time investment required, as developers can address issues systematically based on automated reports rather than through time-consuming manual inspection.

Inventive Principle:
Principle #23Feedback

3Reliability

If developers manually verify text direction at each new feature implementation, then bidirectional text errors are reduced, but the productivity and speed of development decreases

Engineering Contradiction:
Improvebidirectional text error reductionVSAvoiddevelopment speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The bidirectional text checker performs self-service by automatically verifying text direction correctness without requiring developer intervention. The system independently analyzes text content, determines intrinsic direction, compares it with declared direction, and generates error reports. This automation maintains high reliability in bidirectional text handling while preserving development speed, as developers no longer need to manually verify each text element.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The automated feedback mechanism provides developers with specific information about bidirectional text errors, enabling efficient correction without extensive manual verification. The system continuously monitors text direction correctness and reports issues, maintaining high reliability while allowing developers to focus on feature implementation rather than manual text direction checking, thus preserving productivity.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP2635976B8Bidirectional text checker
Publication Date: 2017.12.06 GOOGLE LLC

AI summary

Methods and systems for checking bidirectional text in text content, such as in a web page, are provided. A method for checking bidirectional text may include determining intrinsic and declared text directions of text content. The method may also include generating a bidirectional text error based on a mismatch between the intrinsic text direction and the declared text direction. Bidirectional text errors may be reported. A system may include a walker, a bidirectional text checker and a bidirectional error reporter.