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

CSpell

Dictionary in Jazzy

I. Introduction

Jazzy is the Java implementation of ASpell. The dictionary of Jazzy includes general English and was tested in CSpell. It is briefly described below.

II. Format

word (lowercased unigrams)

III. Algorithm

  • Uses Jazzy SpellDictionary and SpellDictionaryHashMap
    • Jazzy converts all words to Metaphone codes and use the code as key, all words with same code are stored as values
    • To find a word in the dictionary:
      • convert word to code
      • use code as key to find values (all words with same Metaphone code)
      • find the word from values
    • Use code as key allows find all possible words with matching phonetic code
    • Allows adding words from a file