CountMisspellings - Maple Help

Home : Support : Online Help : Education : EssayTools : CountMisspellings

EssayTools

 CountMisspellings
 count misspelled words
 Misspellings
 identify misspelled words

 Calling Sequence CountMisspellings( essay ) Misspellings( essay ) CountMisspellings( words ) Misspellings( words )

Parameters

 essay - string words - list of set of strings

Description

 • The Misspellings command will return a list of words that are spelled incorrectly or not recognized.   The CountMisspellings command will return the number of occurrences of such words.
 • The input can either be a string -- a paragraph or group of sentences -- or a list or set of words.
 • The word list containing correct spellings used by this command contains only English words and non-English words that are commonly seen in English text. You can change the word list, either by appending to the word list or setting an alternate word list.
 • These functions are part of the EssayTools package, so they can be used in the short form, for example, Misspellings(..), only after executing the command with(EssayTools). However, they can always be accessed through the long form of the command names by using, for example, EssayTools[Misspellings](..).

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{GetWordList}}{,}{\mathrm{GetWordTable}}{,}{\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("Aint dis here kermand the best ting ever?"\right)$
 $\left[{"Aint"}{,}{"kermand"}\right]$ (2)
 > $\mathrm{CountMisspellings}\left("Aint dis here kermand the best ting ever?"\right)$
 ${2}$ (3)
 > $\mathrm{Misspellings}\left(\left["a","list","of","dubiouse","wordlike","thingamagigs"\right]\right)$
 $\left[{"dubiouse"}{,}{"wordlike"}{,}{"thingamagigs"}\right]$ (4)
 > $\mathrm{CountMisspellings}\left(\left["a","list","of","dubiouse","wordlike","thingamagigs"\right]\right)$
 ${3}$ (5)

Compatibility

 • The EssayTools[CountMisspellings] and EssayTools[Misspellings] commands were introduced in Maple 17.