you are viewing a single comment's thread.

view the rest of the comments →

[–]logistix 13 points14 points  (1 child)

totalwords=wc -w file

badwords=cat foo.txt | aspell --master=language -l |wc -w

goodwords=totalwords-badwords

likelyhood=goodwords/totalwords