Sample Header Ad - 728x90

Linux adding wordlist for spell checking

1 vote
1 answer
1308 views
We have a small linux cluster (12 machines). Before we populate our database (then create a report from database contents) we would like to spell check a few files. The problem I have is some fields in the text file will contain lists of drugs and other medical terms and other acronyms that the spell checker will automatically think is a spelling error. Eg the line DRUGS:=ASPIRIN;BISOPROLOL;RAMIPRIL;GTN;TAMSULOSIN;PIZOTIFEN;CO-CODAMOL When I issue the command aspell --lang en_GB check filename It doesn't recognise most of these drugs? Is it possible to create a wordlist (i.e a text file containing a list of accepted drugs and acronyms) that aspell can use so that: (a) it ignores incorrectly spelled drugs (b) If a drug is mis-spelled it suggests the correctly spelled version
Asked by moadeep (184 rep)
Dec 4, 2013, 10:18 AM
Last activity: Dec 4, 2013, 09:03 PM