Hi!
I would like to use hunspell as the spellchecker.
I have installed it and a dictionary from sources
into /home/lyx/bin .
I've added an environment variable:
DICPATH=/home/lyx/share/myspell
I have uninstalled ispell and I have created a symlink (ispell) pointing
to hunspell. (ln -s hunspell ispell)
Unfortunately, it is not working. It says:
"The spellchecker has died for some reason. Maybe it has been killed."
Hunspell has a pipe interface with the -a option.
Versions:
- LyX v1.6.3.
- Hunspell v1.2.8 -
- magyarispell dictionary: Magyar 1.4
How to work around?
Alex
Appendix:
l...@mobix:~$ hunspell
Hunspell 1.2.8 - Magyar 1.4
l...@mobix:~$ hunspell -h
Usage: hunspell [OPTION]... [FILE]...
Check spelling of each FILE. Without FILE, check standard input.
-1 check only first field in lines (delimiter = tabulator)
-a Ispell's pipe interface
--check-url Check URLs, e-mail addresses and directory paths
-d d[,d2,...] use d (d2 etc.) dictionaries
-D show available dictionaries
-G print only correct words or lines
-h, --help display this help and exit
-H HTML input file format
-i enc input encoding
-l print mispelled words
-L print lines with mispelled words
-m analyze the words of the input text
-n nroff/troff input file format
-p dict set dict custom dictionary
-P password set password for encrypted dictionaries
-s stem the words of the input text
-t TeX/LaTeX input file format
-v, --version print version number
-vv print Ispell compatible version number
-w print mispelled words (= lines) from one word/line input.
Example: hunspell -d en_US file.txt # interactive spelling
hunspell -l file.txt # print misspelled words
hunspell -i utf-8 file.txt # check UTF-8 encoded file
Bug reports: http://hunspell.sourceforge.net