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
Orthographic Score
Introduction
This page describes the ranking algorithm to choose a correct word from the suggested candidates for a spelling error word.
Algorithm
Orthographic score is a weighted sum of the following 3 similarity scores.
That is:
Orthographic score = wf1 * Token similarity score + wf2 * Phonetic similarity score + wf3 * Overlap similarity score
where:
CS_ORTHO_SCORE_ED_DIST_FAC
)
CS_ORTHO_SCORE_PHONETIC_FAC
)
CS_ORTHO_SCORE_OVERLAP_FAC
)
Source Code:
Example:
Orthographic score between misspelling truely and candidate truly