Segmented Spell Checking for Faster Document Loading
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Reliability
If spell checking is performed on the whole document during loading, then spelling mistakes can be detected, but document displaying speed deteriorates
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.
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.
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
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.
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.
Data Source
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.


