append to the word list - Maple Help

Home : Support : Online Help : Education : EssayTools : EssayTools/AppendToWordList

EssayTools[AppendToWordList] - append to the word list

EssayTools[SetWordList] - set or override the word list

 Calling Sequence SetWordList( words ) AppendToWordList( words )

Parameters

 words - list or array of strings

Description

 • The default word list is loaded with approximately 114000 English words. This list is primarily used for checking and correcting spelling.  The SetWordList and AppendToWordList commands allow you to work with an alternate word list, perhaps a different language, or augment the existing word list with words that would not normally be found in a dictionary.
 • This function is part of the EssayTools package, so it can be used in the short form SetWordList(..) only after executing the command with(EssayTools). However, it can always be accessed through the long form of the command by using EssayTools[SetWordList](..).

Examples

 > $\mathrm{with}\left(\mathrm{EssayTools}\right)$
 $\left[{\mathrm{AppendToWordList}}{,}{\mathrm{BinaryCosineCoefficient}}{,}{\mathrm{BinaryDiceCoefficient}}{,}{\mathrm{BinaryJaccardCoefficient}}{,}{\mathrm{BuildScoreModel}}{,}{\mathrm{CosineCoefficient}}{,}{\mathrm{CountMisspellings}}{,}{\mathrm{CountUseOfAllWords}}{,}{\mathrm{CountUseOfEachWord}}{,}{\mathrm{DetectPlagiarism}}{,}{\mathrm{DiceCoefficient}}{,}{\mathrm{IsAdjective}}{,}{\mathrm{IsAdverb}}{,}{\mathrm{IsConjunction}}{,}{\mathrm{IsDefiniteArticle}}{,}{\mathrm{IsIndefiniteArticle}}{,}{\mathrm{IsInterjection}}{,}{\mathrm{IsIntransitiveVerb}}{,}{\mathrm{IsNominative}}{,}{\mathrm{IsNoun}}{,}{\mathrm{IsNounPhrase}}{,}{\mathrm{IsPlural}}{,}{\mathrm{IsPreposition}}{,}{\mathrm{IsPronoun}}{,}{\mathrm{IsTransitiveVerb}}{,}{\mathrm{IsUsuallyParticipleVerb}}{,}{\mathrm{IsVerb}}{,}{\mathrm{JaccardCoefficient}}{,}{\mathrm{Lemma}}{,}{\mathrm{Misspellings}}{,}{\mathrm{PartOfSpeech}}{,}{\mathrm{QuadraticWeightedKappa}}{,}{\mathrm{Reduce}}{,}{\mathrm{Score}}{,}{\mathrm{SetWordList}}{,}{\mathrm{SimilarityScore}}{,}{\mathrm{SpellCorrectWord}}{,}{\mathrm{WordUse}}\right]$ (1)
 > $\mathrm{Misspellings}\left("amadeupword is not in the word list"\right)$
 $\left[{"amadeupword"}\right]$ (2)
 > $\mathrm{AppendToWordList}\left(\left["amadeupword"\right]\right)$
 ${1}$ (3)
 > $\mathrm{Misspellings}\left("amadeupword IS in the word list"\right)$
 $\left[{}\right]$ (4)