Re: Custom dictionary with Town Names

Scott Gifford <[email protected]>
Newsgroups gmane.comp.gnu.aspell.user
Message-ID <[email protected]>
"Joel Alexandre" <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.