Method and system for cost computation of spelling suggestions and automatic replacement
Abstract
Suggestions may be ordered by their associated costs so that the best suggestions may be displayed to the user and so that, in certain instances, a misspelled word entered by the user may be automatically replaced with a suggestion. To begin generating suggestions and costs, the user input and dictionary word (path of a trie) are considered in parallel. State variables are maintained such as the current cost of the dictionary word and the number of letter positions that have gone unmatched up to the current pointer position, also referred to as the offset. If the offset is zero and the next letters match, the cost associated with the dictionary word is maintained equal to zero. However, if the offset is zero and the next letters of the user input and the dictionary word do not match, then a cost for the dictionary word may not yet be determined. Otherwise, if the offset is greater than zero, possible paths in the trie and associated costs for the paths are determined. If a cost or multiple costs are determined, then the cost(s) is applied to the dictionary word, the offset is set to zero, and the matching process continues. If a cost can not be determined, then the offset is increm
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 117.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
For an electronic system for spell-checking an electronic document, a method for generating a numerical cost in association with a suggested word for replacing a misspelled word, the method comprising the steps of: comparing the suggested word to the misspelled word to determine the transformation between the suggested word and the misspelled word and assigning a cost to that transformation, wherein the cost is based on determining whether the transformation is stored in a built-in string list; and if so, retrieving a built-in string numerical cost from the built-in string list and if the tran
- Claim 2Independent Claim
The method recited
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 117 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (4)
- Small domains spell fast strictness analysis; R. C. Sekar, Shaunak Pawagi and I. V. Ramarkrishnan; Proceedings of the seventeeth annual ACM symposium on Principles of programming languages , 1990, pp. 169 183.
- Small domains spell fast strictness analysis; R. C. Sekar, Shaunak Pawagi and I. V. Ramarkrishnan; Proceedings of the seventeeth annual ACM symposium on Principles of programming languages , 1990, pp. 169-183.
- Spelling mistakes: how well do correctors perform ; D. G. Hendry and T. R. G. Green; INTERACT 93 and CHI 93 conference companion on Human factors in computing systems, 1993, pp. 83 84.
- Spelling mistakes: how well do correctors perform?; D. G. Hendry and T. R. G. Green; INTERACT '93 and CHI '93 conference companion on Human factors in computing systems, 1993, pp. 83-84.