To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103402
                 Issue #|103402
                 Summary|need to skip diacritics in Hebrew spellchecking
               Component|lingucomponent
                 Version|OOO310m9
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|spell checking
             Assigned to|iss...@lingucomponent
             Reported by|ayaniger





------- Additional comments from [email protected] Wed Jul  8 06:18:20 
+0000 2009 -------
Hebrew is usually written without diacritics. However, sometimes the diacritics
are written as special marks located within, above, or below consonants. The
diacritics are represented internally as separate Unicode characters. Hebrew
dictionaries check for words without diacritics and will continue to do so for
the foreseeable future.

This patch filters the diacritics out of a word, before spellchecking it.
(Using breakiterator is not appropriate, since we don't want word-breaking at
the diacritics)

I don't know whether this functionality is needed for other languages as well,
perhaps Arabic or Persian, or maybe some LTR languages. The patch is written in
a generalized way, so that adding a language is fairly easy:

1) add another "case LANGUAGE_WHATEVER" to the "switch (nLanguage)" statement,
and create a string with the diacritics to be skipped 

2) add "|| nLanguage == LANGUAGE_WHATEVER" to the assignments of the boolean
variables

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to