Segmented Spell Checking for Faster Document Loading

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing spell checking methods in document editing software are inefficient, as they require checking entire documents upon loading, which slows down document loading and displaying speeds, negatively impacting user experience, especially for long documents.

Innovation Solution

Implement a method where the document is divided into character segments based on a preset rule, and spell checking is performed on these segments before loading, with incorrect words marked within their segments, allowing for faster document loading and displaying by reducing the time spent on spell checking.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If spell checking is performed on the whole document during loading, then spelling mistakes can be detected, but document loading speed and displaying speed deteriorate

Engineering Contradiction:
Improvespelling detection accuracyVSAvoiddocument loading speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The document is divided into multiple character segments, and spell checking is performed on each segment independently rather than on the entire document at once. This segmentation allows the system to process and display segments progressively, improving loading speed while maintaining spelling detection capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Character segments are prepared and pre-processed before being fully displayed to the user. The spell checking process begins on segments that are ready, allowing the system to perform preliminary spell checking actions on available content while continuing to load and process additional segments in the background.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If spell checking is performed on the whole document during loading, then spelling mistakes can be detected, but document displaying speed deteriorates

Engineering Contradiction:
Improvespelling detection accuracyVSAvoiddocument displaying speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The document is divided into multiple character segments, and spell checking is performed on each segment independently rather than on the entire document at once. This segmentation allows the system to process and display segments progressively, improving loading speed while maintaining spelling detection capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The spell checking process continues continuously across multiple segments as they are loaded and displayed. Rather than completing spell checking on the entire document before displaying anything, the system maintains continuous useful action by checking segments as they become available, ensuring both speed and accuracy.

Inventive Principle:
Principle #20Continuity of useful action

3Reliability

If spell checking is performed on the whole document, then all spelling mistakes can be identified, but the time required for spell checking increases

Engineering Contradiction:
Improvespelling detection completenessVSAvoidspell checking time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The document is divided into multiple character segments, and spell checking is performed on each segment independently rather than on the entire document at once. This segmentation allows the system to process and display segments progressively, improving loading speed while maintaining spelling detection capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs spell checking on character segments as they are loaded and displayed, rather than waiting to check the entire document. This partial action approach ensures that spelling mistakes in displayed segments are detected while avoiding the time penalty of checking the complete document before any display occurs.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10769370B2Methods and apparatus for spell checking
Publication Date: 2020.09.08 ZHUHAI KINGSOFT OFFICE SOFTWARE
  • US10769370B2 patent drawing
  • US10769370B2 patent drawing
  • US10769370B2 patent drawing

AI summary

The embodiments of the present application disclose a spell checking method and device, which relate to the technical field of computer software. The method includes: determining character segments corresponding to characters contained in a page to be displayed according to preset character segment dividing rules; obtaining the character locations of wrong words in each of the determined character segments; presenting each of the determined character segments and marking wrong words in the corresponding character segment in a form of preset mark according to the character locations of wrong words in each of character segments. The solutions provided by the embodiments of the present application are applied to improve document loading speed and document displaying speed, thereby improving users' experience.