Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov
Spelling (1-to-1) Candidates
I. Introduction
A token is a single word (term without spaces). If a token is corrected to a single word for spelling is called 1-to-1 spelling correction. If the token is a spelling error, it is a non-word spelling error correction. Otherwise, it is a real-word correction. This page focus on the non-word correction.
II. Algorithm
III. Test Examples
Error token | Corrected word | Edit Distance | Notes | |
---|---|---|---|---|
non-word 1-to-1 correction | ||||
neef | need | 1 | ||
thier | their | 1 | ||
shud | should | 2 | Metaphone2: [XT]|[XLT] | |
cort | caught | 4 | Metaphone2: [KRT]|[KFT]|1 | |
real-word 1-to-1 correction | ||||
there | their | 2 | Metaphone2: [0R]|[OR] |
IV. TBD