To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59960
                  Issue #:|59960
                  Summary:|Add barbarisms correction to spellchecking
                Component:|lingucomponent
                  Version:|OOo 2.0.1
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|FEATURE
                 Priority:|P3
             Subcomponent:|spell checking
              Assigned to:|[EMAIL PROTECTED]
              Reported by:|unjoan





------- Additional comments from [EMAIL PROTECTED] Mon Jan  2 08:46:13 -0800 
2006 -------
REQ: Add barbarisms correction
Well, sorry for long text :-(

* Some info about Abiword barbarisms support, my
explanation about what is a barbarism is taken from here:
Mail thread:
http://www.abisource.com/mailinglists/abiword-dev/02/Sep/0498.html


* What is a barbarism

Barbarism is a problem that manly concerns to
minority languages, i.e. languages that are
competing, in the same territory, with a more
powerful one, called "rooflanguage", for example
Welsh, Catalan, Occitan, and others.

When two languages compete in the same territory
comes up interferences, but they are not symmetric.
The roof language is weakly affected but the
minority one can be strongly affected, and can
disappear (glottophagy). One of these
interferences is barbarism.

* Example:

In Catalan: "tamany" is taked from Spanish "tamaño"
and should be corrected by "mida" or "grandària", means
"size", in English. Any spellchekcer without barbarism
support doesn't suggest "mida" or "grandària" when
tamany is checked.

* Other cases of use for the same feature:

Another possiblity for this feature is what I call "custom
user suggestions".

Example: If an user types wrongly the same word again and
again, but hunspell can't suggest the correct word, then
the
user can add this wrongly typed word to barbarisms data file
with the correctly word as suggestion.

An other example: Imagine a common very very large text (as
company name, or any text), then user can create a dummy
wrong word (as myword01) in the barbarims data file and add
the correct word as suggestion (my real very large company
name).


* How to implement it (idea or aproach)

Using the MyThesaurus, with an
special thesaurus file where entries are barbarisms and
their synonyms are the correct suggestions.

Adding something like this in suggest() function
(suggestmgr.cxx):

if ((nsug < maxSug) && (nsug > -1))
nsug = barbarims(wlst, word, nsug);

And coding a barbarims function:
barbarisms() must check the word in the barbarism
'thesaurus' file
If word is in 'thesaurus' file then barbarisms()
must add 'synonyms' of word as suggestions in wlst.
barbarisms() must update nsug properly.


* Known problems in this aproach:

- Working at word level, not sentence level. We are
just hacking a spell checker, not doing a grammar
checker. So, some barbarims can't be corrected. It
can't be solved.

- Currently, words that can be declined have to be
coded several times (plurals, verbs declinations, etc).
It's reported as a enhancement of MyThesaurus in OOo
(issue 19563)
http://www.openoffice.org/issues/show_bug.cgi?id=19563

---------------------------------------------------------------------
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