Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong tokenization in spell-checker #21

Closed
jmontane opened this issue Oct 8, 2014 · 3 comments
Closed

wrong tokenization in spell-checker #21

jmontane opened this issue Oct 8, 2014 · 3 comments

Comments

@jmontane
Copy link

jmontane commented Oct 8, 2014

Hi,

middledot character "·" (U+00B7) is used as inner-word character in Catalan language. This use is descrived in UAX TR 29 [1](see MidLetter characters and word boundary rules)

Currently, words like "cel·la", "goril·la" and "paral·lel" are splitted by Sigil as two words ( "cel"+"la", "goril"+"la" and "paral"+"lel"), so spellchecking fails in these words, :((((

Other text editors (read Calibre, LibreOffice...) don't break words with "·" between alpha chars, so spellchecker works fine in these editors.

Please, fix Sigil word tokenization. Thanks

[1] http://www.unicode.org/reports/tr29/#Word_Boundaries

@kevinhendricks
Copy link
Contributor

Hi,
I am working on a patch for this. If approved it should be in an upcoming 0.8.1 release.

@user-none
Copy link
Contributor

Fixed in 3d536d4.

@jmontane
Copy link
Author

Great!!! that was really quickly support, :)

varlog00 pushed a commit to varlog00/Sigil that referenced this issue Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants