|
From: | Eduards Cauna |
Subject: | Re: [Aspell-user] Dictionary creation |
Date: | Wed, 19 Feb 2003 10:44:01 +0200 |
At 10:00 2003.02.19.l, Peter Hellman wrote:
Sice the the never aspell version came out, I cannot use my swedish dictionary anymore.The install works, but I cannot use it. So, I downloaded the master word file, and stripped out the words:cat sv.source | perl -e 'while(<>){ if ($_=~/^WORD: (\w+)$/){print $1 . " ";}}' > sv_ordAccoring to the docs : aspell --lang=«lang» create master ./«base» < «wordlist The wordlist being a list of white space separated word. This translates to : aspell --lang=se create master ./se < sv_ord for me. This in turn produces : Error: The language "" is not known. This is probably becuase the file "/usr/share/aspell/se.dat" can not be opened for reading.
I guess that "se.dat" should be at "/usr/local/share/aspell/" (differs from yours).
Using any text editor simply create there file "se.dat" with two simple lines: name se charset iso8859-1 (not sure about your iso number).Then try again "aspell --lang=se create master ./se < sv_ord" and copy resulting "se" to "/usr/local/lib/aspell/".
And don't forget to create in "/usr/local/lib/aspell/" file "se.multi" with one simple line: "add se".
Check result with "aspell dump dicts'' (shows all available dictionaries, hopefully also your se).
Eduards
[Prev in Thread] | Current Thread | [Next in Thread] |