Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Upper case words and initial upper case words get wrong suggestions #3

Open
snomos opened this issue Oct 12, 2016 · 3 comments
Open

Comments

@snomos
Copy link
Member

snomos commented Oct 12, 2016

For comparison, see this correct behavior:

$ echo "5 VATTIS" | hfst-ospell-office tools/spellcheckers/fstbased/desktop/hfst/se.zhfst 
@@ hfst-ospell-office is alive
&   VÁTTIS GÁTTIS BÁTTIS LÁTTIS RÁTTIS
$ echo "5 Vattis" | hfst-ospell-office tools/spellcheckers/fstbased/desktop/hfst/se.zhfst 
@@ hfst-ospell-office is alive
&   Váttis Gáttis Báttis Láttis Ráttis
$ echo "5 vattis" | hfst-ospell-office tools/spellcheckers/fstbased/desktop/hfst/se.zhfst 
@@ hfst-ospell-office is alive
&   váttis gáttis váttes báttis ráttis

ck-ospell + hfst-ospell-js give less optimal suggestions:

vattis-1

vattis-2

vattis-3

See the case handling code for hfst-ospell-office for how to get proper behaviour.

@snomos
Copy link
Member Author

snomos commented Oct 13, 2016

Commit eb617c7 fixes the initial upper case version, whereas all upper still gives bonanza suggestions:

vattis

vattis1

@bbqsrc
Copy link
Member

bbqsrc commented Jan 22, 2017

Can you confirm this is fixed?

@snomos
Copy link
Member Author

snomos commented Jan 22, 2017

This is not fixed, the situation is the same as described in my previous comment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants