Actually, it turns out that the list works, only not for the "aa �" replacement. I'm still trying to find out for which combinations it works.
For example, the replacement "aab �" works (if I type it aab, it will suggest �) but not for aaa or aaaa, but it works for bb. I don't know why it behaves in this way, it seems to work for any combination, only not for a's. In Norwegian this is a replacement that is needed because aa really is a substitute for � (it sounds like it, and is used by people writing in Norwegian using an english keyboard). There is still no soundslike pattern written for the norwegian dictionary, but is there a way of including this replacement "aa �" now that this doesn't work thruogh the replacement wordlist? nico. On Mon, Sep 15, 2003 at 09:57:40AM +0200, Nikolai Buer wrote: > Hi. > > I can't get the replacement list to work properly with aspell. The > english one works fine, but the norwegian one seems to ignore the > replacement list. > > Here's my replacement list in my home dir ~/.aspell.no.prepl: > > personal_repl-1.1 no 0 > aa � > > The thing is that I want it to suggest � as a replacement for aa. If I > add the "aa �" replacement in the english dictionary it works fine, but > it is in the norwegian one I need it. I've also tried specifying on the > command line which replacement list to use, like this. > > $ aspell --lang=no --repl=.aspell.no.prepl -a > @(#) International Ispell Version 3.1.20 (but really Aspell 0.50.3) > aa > # aa 0 > > No errors, it just ignores it. > > I use Debian (sid) and I've tried both the packages and building my own > with the tar balls, but it still doesn't work. There seems to be a > problem because norwegian uses two dictionaries, bokm�l and nynorsk, and > I had symlink bokm�l.dat to no.dat in /usr/share/aspell. > > Here are some config dumps. > > $ aspell config repl > .aspell.en.prepl > > $ aspell --lang=no config repl > .aspell.no.prepl > > $ aspell -d norsk config repl > .aspell.<unknown>.prepl > > For some reason "aspell -d norsk" and "aspell --lang=no" returns > different dumps, I'm sure there is a trivial answer to this, but I have > been unable to find out why. > > I also put "lang no_NO" in ~/.aspell.conf, but it didn't make any > difference. > > Any ideas would be appreciated. > > nikolai. > > > _______________________________________________ > Aspell-user mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/aspell-user _______________________________________________ Aspell-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/aspell-user
