> Whenever inputting hyphenated words and one part is an acronym
> (all-caps) or a foreign word, Voikko marks words on both sides of the
> hypen as incorrect. A better strategy would be to check words on
> either sides of an hyphen separately. The benefit would be to at least
> approve the correctly spelled half of the hyphenation.

Spell checking APIs of most software including Voikko return boolean results. 
Either the input string is a correct word or not. So if the application asks 
whether "DODF-lyhenne" is correct we can't say it is half-correct but must 
decide between rejecting or accepting the word as a whole.

Checking the parts separately is possible if the application that uses 
libvoikko chooses to check them separately. Libvoikko has a specific option to 
support this mode of operation (VOIKKO_OPT_ACCEPT_MISSING_HYPHENS) but even 
with default options you would get the desired result of rejecting "DODF" and 
accepting "lyhenne".

So I would say that the current behavior is correct and about the best 
possible for generic use. Turning this into a feature request for the 
application that uses libvoikko would be possible but even then please don't 
ask this to be the default as it would interfere with spell checking of much 
more common types of errors ("kerros-talo" for example is not a valid word).

Harri


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to