[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    Re: [Aspell-user] Custom dictionary with Town Names
From:       Scott Gifford <sgifford () suspectclass ! com>
Date:       2007-05-09 3:50:46
Message-ID: ly7iriwt7t.fsf () gfn ! org
[Download RAW message or body]

"Joel Alexandre" <joel.alexandre@gmail.com> 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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic