Displaying 1 result from an estimated 1 matches for "spellprog".
2012 Jun 30
0
Using Pers. Dictionary with Aspell in R
...h 2/5 words misspelled:
SpellTest.txt
test
text
txxt
endeavour
mytzlplk
and dictionary files (aspell.en.pws, and spell.en.prepl respectively) of:
personal_ws-1.1 en 0
mytzlplk
personal_repl-1.1 en 0
mytzlplk superman
and R expression of:
SpellOut<- aspell(SpellTest,
program=SpellProg,
control=c("--master='en_US.multi'
--add-extra-dicts='en_GB.multi' ' -p ./aspell.en.pws'"))
makes no suggestion for "mytzlplk" but finds "txxt" and allows "endeavour."
As seen in:
> print(SpellOut$Suggestions)
[...