Discussion:
[Aspell-user] Excluding split suggestions
Erwin de Jong
2010-11-11 10:11:45 UTC
Permalink
[cid:***@01CB8191.4B91F9D0]
Dear Group,

First off, my knowledge is very limited. I've been asked to make some changes in a system where Aspell is used to add suggestion to search results on a website (typical usage), and I have had limited time for research.
Not the best way to start, I know, but it is how it is.

Now, to the issue.
Basicly I only want suggestions that will lead to actual search results, and a system is in place to make this work already, but there is one issue left with this.
There are still suggestions returned that are basicly the words split into seperate other words.
I wish to prevent this from happening. I checked the nl_affix.dat file, and it contains the following line:

NOSPLITSUGS

The name suggests exactly what I want, but either this line doesn't do anything or I'm barking up the wrong tree. Sof ar I haven't found anything alternative.

Any help or hints would be appreciated.

Met vriendelijke groeten,
Erwin de Jong

WIND Internet
Adres:

Tijnjedyk 89
8936 AC Leeuwarden

Telefoon:

058 - 280 28 87

Fax:

058 - 288 13 91

E-mail:

***@windinternet.nl<mailto:***@windinternet.nl>

Internet:

www.windinternet.nl


[cid:***@01CB8191.4B91F9D0]<http://www.mail2pdf.nl/>

Kijk eens op www.mail2pdf.nl<http://www.mail2pdf.nl/>,
makkelijk berichten afdrukken en opslaan.


Disclaimer
Dit bericht (inclusief de bijlagen) kan vertrouwelijk zijn. WIND Internet sluit elke aansprakelijkheid uit wanneer informatie in deze e-mail niet correct, onvolledig of niet tijdig overkomt, evenals indien er schade ontstaat ten gevolge van deze e-mail.
Kevin Atkinson
2010-11-11 23:40:21 UTC
Permalink
If given "helloworld" you wan't to avoid the suggestion "hello world" than
the option you are looking for is "sug-split-char". This list option
needs to be cleared using "clear-sug-split-char" This option can be
specified on the command line with "--clear-sug-split-char", or added to
an Aspell config file (see manual) or added to the language data file
"nl.dat".

Loading...