Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

2 votes
0 answers
47 views
How "trim" spell check's language list (aspell)
I use `evince` as PDF viewer and I noticed an annoying issue: spell check language list is filled with useless english variants; (see screenshot below) [![enter image description here][1]][1] Question is: **How to trim down the list to a couple of entries?** I am Italian but I also write in English...
I use evince as PDF viewer and I noticed an annoying issue: spell check language list is filled with useless english variants; (see screenshot below) enter image description here Question is: **How to trim down the list to a couple of entries?** I am Italian but I also write in English so I need both language but, thus I have installed both aspell-en,aspell-it packages; Even if all those English variants have probably a good reason to exists, I do not need and I want to hide them, since make the workflow more complicated and a waste of time. --- **EDIT:** 1. this question is *evince* or better ***aspell***-specific, since the former's spell checker is based on it; 2. I am looking for **any** kind of solution: a *"proper"* one if it exists, or a brutal one as @tink point out, that's simply delete implicated files --- Arch Linux w/ Evince-46.3.1 aspell-0.60.8.1 aspell-en-2020.12.07
mattia.b89 (3398 rep)
Nov 2, 2024, 07:42 PM • Last activity: Nov 3, 2024, 09:09 AM
8 votes
2 answers
2936 views
Aspell: how to ignore words permanently
I have a tex file that I update regularly and want to check for spelling every time. I would like aspell to remember the mispelled words that I chose to ignore and automatically ignore them in every subsequent spellcheck. The way I do it so far is the following: - Check the file using `aspell -t -c...
I have a tex file that I update regularly and want to check for spelling every time. I would like aspell to remember the mispelled words that I chose to ignore and automatically ignore them in every subsequent spellcheck. The way I do it so far is the following: - Check the file using aspell -t -c file.tex. After that, I know that whatever is left there that is misspelled can be ignored for the next time. - Do cat file.tex | aspell list -t | sort | uniq > dictionary.txt and then add personal_ws-1.1 en 162 as the first line of dictionary.txt. This will be a personal dictionary of things that can be ignored in every subsequent spell check. - Next time check the file with aspell --home-dir=. --personal=dictionary.txt -t -c file.tex This works, but the problem is that I need to do this procedure every time I want to update the words that I want to ignore permanently. Is there a way to make aspell put the interactively ignored words in that file, automaticaally during the spell check? Or any other efficient way of achieving what I'm doing above?
geo909 (456 rep)
Nov 24, 2016, 08:59 PM • Last activity: Aug 30, 2024, 07:35 PM
2 votes
1 answers
878 views
Where does aspell store my own added words?
Where does aspell store my own added words (with the 'a' option) and how can I manipulate this list? I hope aspell stores this in a separate dictionary, separate from the language dictionary. The background is that I want to review this list on a regular interval.
Where does aspell store my own added words (with the 'a' option) and how can I manipulate this list? I hope aspell stores this in a separate dictionary, separate from the language dictionary. The background is that I want to review this list on a regular interval.
robert (213 rep)
Apr 11, 2015, 01:57 PM • Last activity: Jun 9, 2021, 12:30 PM
4 votes
1 answers
450 views
How to specify multiple .pws and .prepl files in ASPELL_CONF?
I'm trying to configure aspell version 3.1.20 to use the `$XDG_CONFIG_HOME/aspell/` directory instead of `~/.aspell`. According the the [Arch Wiki](https://wiki.archlinux.org/index.php/XDG_Base_Directory), one can do so by setting the `ASPELL_CONF` environment variable to something like ```bash "per...
I'm trying to configure aspell version 3.1.20 to use the $XDG_CONFIG_HOME/aspell/ directory instead of ~/.aspell. According the the [Arch Wiki](https://wiki.archlinux.org/index.php/XDG_Base_Directory) , one can do so by setting the ASPELL_CONF environment variable to something like
"per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl"
However, I'm Brazilian and I regurlarly use aspell to check spelling in both English and Portuguese. In other words, I need to specify multiple .pws and .prepl files (one for each language). I tried doing something along the lines of
export ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl $XDG_CONFIG_HOME/aspell/pt_BR.pws; repl $XDG_CONFIG_HOME/aspell/pt_BR.prepl"
but I'm getting the following error messages:
$ aspell -l pt_BR check doc.txt
Error: Expected language "pt_BR" but got "en".

$ aspell -l en check doc.txt
Error: Expected language "pt_BR" but got "en".
How do I specify .pws and .prepl files for multiple languages?
Gark Garcia (145 rep)
Apr 28, 2021, 04:40 PM • Last activity: May 9, 2021, 12:41 PM
4 votes
1 answers
201 views
Where can I find a Welsh word list?
I am looking for a Welsh language word list on my Ubuntu system. `apt-file search /usr/share/dict/` doesn't show an option. However [aspell-cy][1] does exist. The official description is "This package contains all the required files to add support for the Welsh language to the GNU Aspell spell check...
I am looking for a Welsh language word list on my Ubuntu system. apt-file search /usr/share/dict/ doesn't show an option. However aspell-cy does exist. The official description is "This package contains all the required files to add support for the Welsh language to the GNU Aspell spell checker." I have installed it but can't find the word list it should be using. Where can I find a Welsh language word list?
Simd (371 rep)
Jan 28, 2021, 05:09 PM • Last activity: Jan 28, 2021, 06:58 PM
3 votes
3 answers
679 views
Using find and aspell together
I'm trying to spell check all the `*.md` files in my current directory but the following command fails: >> find . -maxdepth 1 -name "*.md" | xargs -I {} aspell check {} xargs: aspell: exited with status 255; aborting I'm assuming this is because `aspell` requires `stdin` to interact with the user an...
I'm trying to spell check all the *.md files in my current directory but the following command fails: >> find . -maxdepth 1 -name "*.md" | xargs -I {} aspell check {} xargs: aspell: exited with status 255; aborting I'm assuming this is because aspell requires stdin to interact with the user and somehow xargs doesn't provide it. I found a hack on Twitter , find . -maxdepth 1 -name "*.md" | xargs -n 1 xterm -e aspell check but this opens up a new xterm each time. How can I get my original command to work as if I were to individually run aspell on the results of my find command?
Hooked (1373 rep)
Jan 25, 2015, 05:23 PM • Last activity: Jun 30, 2020, 03:44 PM
3 votes
1 answers
286 views
Aspell: how to change home dir globally?
`aspell` creates following files in my home: .aspell.en.prepl .aspell.en.pws How can I change the location globally, i.e. to `$HOME/.cache/aspell` ? I need to reference the `$HOME` environment variables in `/etc/aspell.conf`. I tried the following, but it does not seem to work: ``` home-dir $HOME/.c...
aspell creates following files in my home: .aspell.en.prepl .aspell.en.pws How can I change the location globally, i.e. to $HOME/.cache/aspell ? I need to reference the $HOME environment variables in /etc/aspell.conf. I tried the following, but it does not seem to work:
home-dir $HOME/.cache/
How can I set home-dir globally, to be each users ~/.cache directory ? **CLARIFICATION** I don't run aspell manually. Applications such as Thunderbird run it themselves. Therefore, using a shell alias is not really a solution.
Martin Vegter (586 rep)
Apr 15, 2020, 01:03 PM • Last activity: Jun 3, 2020, 08:36 PM
2 votes
3 answers
1672 views
Spell checking user's input by aspell, but how to invoke the INTERACTIVE mode in this context?
I have wrote a script which receives a user's sentence, i'd like to pipe the string to **aspell** and then get the ***INTERACTIVE*** screen's suggestions (in case user had some typos). Afterwards the words would be sent back to the script and I'd replace the typos with the corresponding words. I'm a...
I have wrote a script which receives a user's sentence, i'd like to pipe the string to **aspell** and then get the ***INTERACTIVE*** screen's suggestions (in case user had some typos). Afterwards the words would be sent back to the script and I'd replace the typos with the corresponding words. I'm aware of aspell options: 1) Check the file for typos and display a list of suggestions **in interactive mode**: aspell check 2) Check the file for typos and display a list of suggestions **not in interactive mode**: cat | aspell -a but if I try option one, I get **"Error: Stdin not a terminal."**, I'll be glad to get any fruitful tip how to overcome this issue? :) Thank you
JammingThebBits (426 rep)
Aug 17, 2018, 07:56 PM • Last activity: Apr 23, 2020, 08:19 PM
0 votes
0 answers
34 views
Does calling aspell give better results than matching against it's word-list dump?
When implementing a spell checker as an external process, I can call aspell directly, however this has the overhead of starting a process. An alternative solution is to dump all `aspell` words to a list, eg: aspell -d en_US dump master If I only need to know if the word is correctly spelled or not,...
When implementing a spell checker as an external process, I can call aspell directly, however this has the overhead of starting a process. An alternative solution is to dump all aspell words to a list, eg: aspell -d en_US dump master If I only need to know if the word is correctly spelled or not, and ignoring details about case sensitivity. Is there any difference between checking a word exists in the word-list, and calling aspell directly? ---- For example, if I'm writing software which includes a spell checker, would it be reasonable to load all words into a set data-structure, then check if the set contains a word - as an alternative to calling aspell.
ideasman42 (1461 rep)
Apr 2, 2020, 12:23 AM • Last activity: Apr 2, 2020, 05:17 AM
3 votes
2 answers
426 views
Drop into an editor from inside aspell
I'm writing my doctoral dissertation using vim and LaTeX, and I spell-check the document using aspell. Sometimes I run across an error that can't suitably be fixed using the built-in spell-check options in aspell. For example the last time I ran into a spell check problem on a repeated word. In addi...
I'm writing my doctoral dissertation using vim and LaTeX, and I spell-check the document using aspell. Sometimes I run across an error that can't suitably be fixed using the built-in spell-check options in aspell. For example the last time I ran into a spell check problem on a repeated word. In addition to fixing the spelling error, I also had to delete on occurence of the word, but aspell didn't give me a way to do that. Is there a way to drop into my editor at the point where aspell finds an error, in order to do more extensive fixes there?
Ken Bloom (399 rep)
Jun 22, 2011, 02:57 PM • Last activity: Feb 21, 2020, 10:28 AM
4 votes
1 answers
2190 views
GNU Aspell - how to add a custom word list?
I am writing a large LaTeX document for the first time, and I recently learned how to check my spelling with aspell. My document contains a few names and bits of technical jargon that aspell does not like. For example, I would like to have aspell accept the word 'odometry' in my files. I'd like to c...
I am writing a large LaTeX document for the first time, and I recently learned how to check my spelling with aspell. My document contains a few names and bits of technical jargon that aspell does not like. For example, I would like to have aspell accept the word 'odometry' in my files. I'd like to create a list of valid words that aspell can use along with whatever list it is already using to check a word's validity. I'd also like to store this master word list in or near the same directory that contains all of my *.tex files so that I can include it in my git repository. Can someone provide examples of: 1. A correctly formatted file that tells aspell to consider 'odometry' a valid word, 2. The relevant aspell command + arguments required to use the above list My attempt to figure this out led me to create a personal dictionary . Despite trying a few variations of filenames and command args, aspell never changed its behavior to respect this whitelist.
Kevin Bradner (211 rep)
Nov 22, 2019, 12:17 AM • Last activity: Nov 25, 2019, 11:42 PM
1 votes
0 answers
139 views
How to fix aspell (bn-BD) invalid strings compiling issue
When I tried to re-create `aspell-bn` (bn-BD) i.e. of Bengali(BD) language spellchecker with help of this [link](http://blog-archive.copyninja.info/2011/05/tutorial-creating-aspell-dictionaries.html) for aspell6 by compiling like the following $ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sou...
When I tried to re-create aspell-bn (bn-BD) i.e. of Bengali(BD) language spellchecker with help of this [link](http://blog-archive.copyninja.info/2011/05/tutorial-creating-aspell-dictionaries.html) for aspell6 by compiling like the following $ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/aspell co aspell-lang $ cd aspell-lang $ ./pre bn u-beng $ cd bn $ ./proc create This creates configure script and Makefile.pre and finally copying the word list file to working directory and named it as [bn.wl](https://drive.google.com/file/d/1LknCOk0yT59rWIBf55mKD766gfkMxHlP) Word list file which contains list of words separated by new lines. And then $ ./configure $ make (/usr/sbin/prezip-bin -d < bn.cwl | /usr/sbin/aspell --lang=bn create master ./bn.rws) But when I run "make", it prints many error messages and warnings like the following 2 types (The Unicode code points [**U+09CE**](https://en.wiktionary.org/wiki/%E0%A7%8E) and [**U+FEFF**](https://en.wikipedia.org/wiki/Byte_order_mark) are unsupported), though according to [u-beng.txt](https://pastebin.com/qEwaBYby) **U+09CE** is clearly within the defined range. Warning: The string "হৃৎযন্ত্র" is invalid. The Unicode code point U+09CE is unsupported. Skipping string. Warning: The string "ক্ল্যারিজ" is invalid. The Unicode code point U+FEFF is unsupported. Skipping string. After all of these, I do get a bn.rws file but it does not include all the words listed in bn.wl. I am using parabola-arch x86-64 And pacman -Qi aspell returns Name : aspell Version : 0.60.6.1-5 Description : A spell checker designed to eventually replace Ispell Architecture : x86_64 URL : http://aspell.net/ Licenses : LGPL Groups : None Provides : None Depends On : gcc-libs ncurses Optional Deps : perl: to import old dictionaries [installed] If you can help me correct my mistakes then please. I am also including the [error.log](https://pastebin.com/AW224Ztr) . I guess I need to do something with the [u-beng.txt](https://pastebin.com/qEwaBYby) in the aspell-lang/maps folder or in the [u-beng.cset](https://pastebin.com/r8Za9fmt) & [u-beng.cmap](https://pastebin.com/EkPbYMn4) but I am not sure. P.S. [Bengali_(Unicode_block)](https://en.wikipedia.org/wiki/Bengali_(Unicode_block)) And [Official Unicode Consortium code chart for Bengali.](https://www.unicode.org/charts/PDF/U0980.pdf) And [***a pull request.***](https://github.com/GNUAspell/aspell-lang/pull/2)
Pavel Sayekat (621 rep)
Mar 27, 2018, 02:01 PM • Last activity: Jan 23, 2019, 05:56 AM
8 votes
2 answers
3378 views
How can I export my aspell dictionary?
At the moment, I'm working on a big LaTeX document about mathematics and once in a while I do some spell-checking on it. As you can guess, there are a lot of words which are not in a standard dictionary. But I've added them with `aspell` with a to the standard dictionary. aspell -d de -t -c my-docum...
At the moment, I'm working on a big LaTeX document about mathematics and once in a while I do some spell-checking on it. As you can guess, there are a lot of words which are not in a standard dictionary. But I've added them with aspell with a to the standard dictionary. aspell -d de -t -c my-document.tex Is there a way to export my words (and only those)? Restoring seems to be quite simple: another question .
Martin Thoma (2902 rep)
Feb 21, 2014, 02:13 PM • Last activity: Feb 13, 2018, 05:05 PM
9 votes
1 answers
2800 views
Use multi language dictionary with aspell
I have a large .tex file that contains two languages and I want to spellcheck it without going crazy. So just spellchecking for one language and pressing "ignore" for words from the other language is not an option. So I read up on aspell and found out you can define your own `.multi` files to combin...
I have a large .tex file that contains two languages and I want to spellcheck it without going crazy. So just spellchecking for one language and pressing "ignore" for words from the other language is not an option. So I read up on aspell and found out you can define your own .multi files to combine dictionaries. But apparently you can't do this for dictionaries from different languages, it throws an error (or, if you're working from a GUI, the dictionary will just appear empty). Also, I found a bug report putting this feature on the wishlist, but it seems no one has implemented it yet. So, my question is: Are there any sane ways of using two dictionaries for two different languages at once? This problem gave me a headache and there's next to no documentation on how to do it on the internet. So, I'll put up the workaround I found as an answer, to save anyone else (including future me) the trouble. But if you have a better solution, please post it.
fifaltra (695 rep)
Feb 1, 2017, 11:39 AM • Last activity: Feb 2, 2017, 11:12 AM
6 votes
6 answers
5273 views
Command line method to find repeat-word typos, with line numbers
**Updated**: Clarify line number requirement, some verbosity reductions From the command line, is there a way to: * check a file of English text * to find repeat-word typos, * along with line numbers where they are found, in order to help correct them? ## Example 1 ## Currently, to help finish an ar...
**Updated**: Clarify line number requirement, some verbosity reductions From the command line, is there a way to: * check a file of English text * to find repeat-word typos, * along with line numbers where they are found, in order to help correct them? ## Example 1 ## Currently, to help finish an article or other piece of English writing, aspell -c text.txt is helpful for catching spelling errors. But, not helpful when the error is an unintentional consecutive repetition of a word. highlander_typo.txt: There can be only one one. Running aspell: $ aspell -c highlander_typo.txt Probably since aspell is a spell-checker, not a grammar-checker, so repeat word typos are beyond its intended feature scope. Thus the result is this file passes aspell's check because nothing is "wrong" in terms of individual word spelling. The correct sentence is [There can be only one.](https://www.youtube.com/watch?v=sqcLjcSloXs) , the second one is an unintended repeat-word typo. ## Example 2 ## But a different situation is for example kylie_minogue.txt: La la la Here the repetition is not a typo, as these are part of an artist's [song lyrics](http://www.azlyrics.com/lyrics/kylieminogue/cantgetyououtofmyhead.html) . So the solution should not presume and "fix" anything by itself, otherwise it could overwrite intentional repeated words. ## Example 3: Multi-line ## jefferson_typo.txt: He has has refused his Assent to Laws, the most wholesome and necessary for the public good. He has forbidden his Governors to pass Laws of immediate and and pressing importance, unless suspended in their operation till his Assent should be be obtained; and when so suspended, he has utterly neglected to attend to them. Modified from [The Declaration of Independence](https://www.gutenberg.org/ebooks/16780) In the above six lines, * 1: He has has refused should be He has refused, the second has is a repeat-word typo * 5: should be be obtained should be should be obtained, the second be is a repeat-word typo However, did you notice a third repeat-word typo? * 3: ... immediate and * 4: and pressing ... This is also a repeat-word typo because though they are on separate lines they are still part of the same English sentence, the trailing end of the line above has a word that is accidentally added at the start of the next line. Rather tricky to detect by eye due to the repetition being on opposite sides of a passage of text. ## Intended output ## * an interactive program with a process similar to aspell -c yet able to detect repeat-words, or, * a script or combination of commands able to extract line numbers and the suspected repeat words. This info makes it easier to use an editor such as vim to jump to the repeat words and make fixes where appropriate. Using above multi-line jefferson_typo.txt, the desired output would be something like: 1: has has 3: and 4: and 5: be be or: 1: He [has has] refused his Assent to Laws, the most wholesome and necessary 3: He has forbidden his Governors to pass Laws of immediate [and] 4: [and] pressing importance, unless suspended in their operation till his 5: Assent should [be be] obtained; and when so suspended, he has utterly I am actually not entirely sure how to display the difficult case of inter-line or cross-line repeat-word, such as the and repetition above, so don't worry if your solution doesn't resemble this exactly. But I hope that, like the above, it shows: * relevant original input's line number * some way to draw attention to what repeated, especially helpful if the line of text is also quite long. * if the full line is displayed to give context (credit: @Wildcard), then there needs to be a way to somehow render the repeated word or words distinctively. The example shown here marks the repetition by enclosing them within ASCII characters [ ]. Alternatively, perhaps mimic grep --colors=always to colorize the line's matches for display in a color terminal ## Other considerations ## * text, should stay as plain text files * no GUI solutions please, just textual. ssh -X X11 forwarding not reliably available and need to edit over ssh ## Unsuccessful attempts ## To try to find duplicates, uniq came to mind, so the plan was to first determine how to get repeat-word recognition to work on a single line at first. In order to use uniq we would need to first convert words on a line, to becoming one word per line. $ tr ' ' '\n' < highlander_typo.txt There can be only one one. Unfortunately: $ tr ' ' '\n' < highlander_typo.txt | uniq -D Nothing. This is because for -D option, which normally reveals duplicates, input has to be exactly a duplicate line. Unfortunately the period . at the end of the repeated word one negates this. It just looks like a different line. Not sure how I would work around arbitrary punctuation marks such as this period, and somehow add it back after tr processing. This was unsuccessful. But if it were successful, next there would need to be a way to include this line's line number, since the input file could have hundreds of lines and it would help to indicate which line of the input file, that the repeat-word was detected on. This single-line code processing would perhaps be part of a parent loop in order to do some kind of line-by-line multi-line processing and thus be able to process all lines in a file, but unfortunately getting past even single-line repeat-word recognition has been problematic.
clarity123 (3589 rep)
Jan 19, 2016, 10:08 PM • Last activity: Jul 28, 2016, 04:58 PM
3 votes
1 answers
409 views
filter document via aspell
I need to get a clean txt document and my first approach is to use aspell. The issue is I need it on batch, no interactive mode. Every txt file is piped to aspell and must be returned a new document with the non-dictionnary words deleted. I've found just the inverse behaviour: list the non-dictionar...
I need to get a clean txt document and my first approach is to use aspell. The issue is I need it on batch, no interactive mode. Every txt file is piped to aspell and must be returned a new document with the non-dictionnary words deleted. I've found just the inverse behaviour: list the non-dictionary words using cat $file | aspell list | sort -u -f Is aspell the correct tool to achieve that cleaned document folder? What about automatic substitution of misspelled words? (using a predefined list file)
jomaweb (541 rep)
May 12, 2016, 09:51 AM • Last activity: May 13, 2016, 02:27 PM
4 votes
0 answers
642 views
how to make aspell ignore upper case words (acronyms)?
aspell seems to have some support for filters: http://aspell.net/0.50-doc/man-html/4_Customizing.html#filter but I can't find any way to tell it to ignore words that are all capital letters (typically acronyms), which is rather frustrating because my documents tend to have a lot of acronyms. How can...
aspell seems to have some support for filters: http://aspell.net/0.50-doc/man-html/4_Customizing.html#filter but I can't find any way to tell it to ignore words that are all capital letters (typically acronyms), which is rather frustrating because my documents tend to have a lot of acronyms. How can I ignore acronyms in aspell? (or failing that, how can I tell emacs/flyspell not to check upper case words?)
fommil (682 rep)
Jul 26, 2015, 06:37 PM
1 votes
2 answers
936 views
SpellCheck in FreeBSD
In FreeBSD; the SpellCheck doesn't work for me. For example I installed `midori` from the ports. In dependencies it installed `enchant`and `enchant` had the option for some dictionary (i.e. Hspell, Aspell ...). I went with `aspell`. I even installed `aspell-en`dictionary. But at the end I have no sp...
In FreeBSD; the SpellCheck doesn't work for me. For example I installed midori from the ports. In dependencies it installed enchantand enchant had the option for some dictionary (i.e. Hspell, Aspell ...). I went with aspell. I even installed aspell-endictionary. But at the end I have no spell check in FreeBSD.
r004 (3549 rep)
Mar 3, 2014, 07:51 AM • Last activity: Oct 6, 2014, 11:11 AM
7 votes
1 answers
370 views
aspell installs too many languages
I have installed `aspell-en` and `aspell-de`. I have expected this will give me the choice between `en` and `de` languages. However, the package has installed many versions of `en` and `de` languages and now when I want to select my spell language, I get too many to choose from. * Is it possible to...
I have installed aspell-en and aspell-de. I have expected this will give me the choice between en and de languages. However, the package has installed many versions of en and de languages and now when I want to select my spell language, I get too many to choose from. * Is it possible to configure somewhere, which languages are offered/displayed? * Can I limit the list to, lets say only en_US and de_CH ? I am sure I will never need de_LI and besides, I don't see any reason why de_LI should be a separate language anyway. I am using Debian Wheezy. Available languages
user1968963 (4163 rep)
Jul 2, 2014, 02:14 PM • Last activity: Jul 11, 2014, 09:20 PM
1 votes
1 answers
1308 views
Linux adding wordlist for spell checking
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 spel...
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
moadeep (184 rep)
Dec 4, 2013, 10:18 AM • Last activity: Dec 4, 2013, 09:03 PM
Showing page 1 of 20 total questions