Brian Wilson wrote:

> >Bram Moolenaar wrote:
> > Can we see the start and/or end of a word by recognizing characters?
> > Or do we need to recognize words?
> > 
> > The spell checker does have some knowledge about where words start and
> > end.  It's a bit slow doing it that way, but might still be acceptable.
> > 
> > I suppose we could have a character class that indicates no spaces are
> > used to separated words.  That will assume the character is only used in
> > that kind of language.
> > 
> 
> Thank you Bram. I believe there are C algorithms (someplace) that
> define what is a Thai syllable.  (I am not sure if this is the same as
> the ICU algorithms or not.) This would allow wrapping and navigation
> etc. at syllable level. I wouldn't recommend it for line breaking, but
> it would be less CPU intensive than a dictionary solution. However,
> for use of '*' and other nifty word level commands, tapping into ICU
> dictionary algorithms seems necessary. In my naivety, I ask, could we
> enable a setting that turns on/off ICU dictionary algorithms for
> Southeast and Southern Asian languages "in one fell swoop"?  Or does
> this need to be hammered out one language at a time?

If someone can make a patch to support that ICU library, with configure
checks, tests and everything, I could include that.

> And?? If ICU dictionary algorithms are supported, would this mean thai
> spelling would be naturally supported, or would this be a separate
> step?

Thai spell checking is already available.  I have no idea how well it
works though.

-- 
hundred-and-one symptoms of being an internet addict:
109. You actually read -- and enjoy -- lists like this.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui