Method and system for approximate string matching
Abstract
Approximate string matching of a target string to a trie data structure. The trie data structure has a root node and generations of child nodes each node representing at least one character in an alphabet to provide a lexicon of words and word fragments. The trie data structure is traversed starting from the root node by comparing each node of a branch of the trie data structure to characters in the target string and adding characters traversed in a branch of the trie data structure to a gathered string to provide suggestions of approximate matches. If a node is reached that is flagged as a node for a word or a word fragment and, if the target string is longer than the gathered string, the traversal loops back to the root node, and continues to traverse from the root node. This enables the trie data structure to use word fragments for compound words and to split non-delimited words where appropriate. A determination may be made, at each node, as to whether there is a correction rule for one or more characters in the remainder of the target string from the current node, and if so, the correction rule is applied to the target string to obtain a modified target string.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 19.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of approximate string matching of a target string to a trie data structure, the trie data structure having a root node and generations of child nodes each node representing at least one character in an alphabet, the method comprising: traversing a trie data structure starting from the root node by comparing each node of a branch of the trie data structure to characters in the target string; determining, at each node, if there is a correction rule for one or more characters in the remainder of the target string from the current node, and, if so, applying the correction rule to the targ
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 19 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (4)
- IBM Research Disclosure Aug. 2002 Glushnev, N.I. Troussov, A.L. Volkov, P.V. Method and Apparatus for Performing Decomposition of an Input String Into the Concatenation of Non-Overlapping Non-Gapped Words or Word Formation Elements From Large Electronic Dictionary.
- IEEE Transactions on Knowledge and Data Engineering Aug. 1996 (vol. 8, No. 4) pp. 540-547 H. Shang, T.H. Merrettal, Tries for Approximate String Matching.
- Proceedings of the International Symposium on Cooperative Database Systems for Advanced Applications, Kyoto, 1996. World Scientific, 1996. T. H. Merrett, Heping Shang, Xiaoyan Zhao: Database Structures, Based on Tries, for Text, Spatial, and General Data. pp. 507-515.
- R.C. Angell, G.E. Freund, and P. Willett. Automatic spelling correction using a trigram similarity measure. Information Processing and Management, 19:255-261, 1983.