An official website of the United States government
Here’s how you know
Official websites use .gov A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS A
lock (
) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
CSpell
Dictionary Functions
This page descibes Java classes of dictionaries.
I. Java Classes
DictionaryFactory.java
RootDictionary.java
BasicDictionary.java
FullDictionary.java
OutOfVocabulary.java
II. Functional Requirements
BasicDictionary (dic)
Load words from a speficied file to the dictionary
speficied the case
specified the field (from the input file)
Add a word
dic.IsDicWord: Check is a term is a dictionary word
direct table lookup from dictionary (with option of specifying case)
dic.IsRealWord: Check is a term is a real word
Check if a dictionary word
Check possessive (Ex. John's => John is in dic)
Check or slash (Ex. case/test => both case and test are in dic)