Virtual QWERTY Keyboards to be used with Fingers...

Carsten Haitzler (The Rasterman) raster at openmoko.org
Mon Apr 7 01:47:16 CEST 2008


On Mon, 07 Apr 2008 01:31:03 +0200 "Marco Trevisan (Treviño)" <mail at 3v1n0.net>
babbled:

> Carsten Haitzler (The Rasterman) wrote:
> > interesting you mention this. i actually thought of using aspell as the
> > core of a probability and correction matching engine, but as such it's api
> > isn't sufficient to use it.
> 
> That was my idea/hope too...
> > so anyway- aspell would have been great - it'd offload the matching to a
> > library designed for this kind of stuff, but alas, it's api is not
> > sufficient, so i need to do a custom one. :(
> 
> I agree with your ':('... :P
> BTW maybe the aspell data (dictionaries) could be used, isn't it? I hope 
> it will be possible to have some compatibility with it since it's the 
> most used correction tool on open systems, and this would allow to use 
> the many resources that are already available for it without creating 
> them (again) from scratch.

i'd love to - but i need to do this fast. no moretime to look. what i need from
aspell api-wise is a:

"do any words start with "age" for example (not just does this match anything
in the dictionary). in fact that is all i need - start with... :)

right now it's probably faster/easier for me to just take /usr/share/dict/words
and turn that into a binary file i can mmap and quickly search (or build an
index file into the words file for lookups). we can look at aspell later. this
would be a worthy api to add to aspell.

-- 
Carsten Haitzler (The Rasterman) <raster at openmoko.org>




More information about the community mailing list