aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Aspell-user] Custom dictionary with Town Names


From: Scott Gifford
Subject: Re: [Aspell-user] Custom dictionary with Town Names
Date: Tue, 08 May 2007 23:50:46 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux)

"Joel Alexandre" <address@hidden> writes:

> Hi,
>
> short version:
> can i have a custom dictionary with spaces in the words?
>
> long version:
> i'm trying to use aspell to check and suggest  town names.
>
> I've built a custom dictionary with all the words from the town names.
>
> For example:
> These are the towns:
> Vila da  Barquinha
> Vila Nova de Gaia

I solved this exact problem by translating spaces to apostrophes in my
code before inserting them into the dictionary, and again after
getting them out.  Not perfect (in particular if you have town names
with apostrophes), but it worked for me.

----Scott.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]