Bugs item #3523776, was opened at 2012-05-05 09:51
Message generated for change (Comment added) made by dnaber
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3523776&group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenOffice.org integration
Group: development version
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Jan Schreiber (janschreiber)
Assigned to: Marcin Miłkowski (milek_pl)
Summary: Overlap in rules results in wrong replacement

Initial Comment:
The German sentence
Die falle schnappte zu.
triggers two different rules. One of the rules should only mark 'falle', the 
other one 'falle schnappte'. Actually 'falle schnappte' is underlined. Now the 
suggestion 'Falle' from rule 1 is applied to the marked sequence 'falle 
schnappte' from rule 2, resulting in an undesired deletion of the word 
'schnappte'. This behavior is very confusing.

----------------------------------------------------------------------

Comment By: Daniel Naber (dnaber)
Date: 2012-05-07 14:05

Message:
This is now tracked at LibreOffice, including a patch:
https://bugs.freedesktop.org/show_bug.cgi?id=49605

----------------------------------------------------------------------

Comment By: Daniel Naber (dnaber)
Date: 2012-05-07 12:41

Message:
It's an error in LibreOffice. We create two errors with different
suggestions, differtent error messages and different lengths. Only the
start positions are the same and that seems to confuse LO.

----------------------------------------------------------------------

Comment By: Jan Schreiber (janschreiber)
Date: 2012-05-06 02:50

Message:
In my opinion, this isn't so much of a problem as long as we make sure that
on our side error markup and suggestion belong to the same rule. The
overlap in itself is not the problem in the above example, but rather the
fact that the markup is taken from one rule and the suggestion
(replacement) from another. Wouldn't it be possible to fix that part and
leave the rest as is?

----------------------------------------------------------------------

Comment By: Daniel Naber (dnaber)
Date: 2012-05-06 02:20

Message:
If two rules match, we create two error markups which might overlap.
LibreOffice cannot properly handle that. There are two ways to cope with
that: 

1. submit a bug report at LO with the example in this bug report. Set
László Németh on Cc (author of LightProof), as he is probably also
interested in fixing this. 

2. Work around the problem in LT by not creating duplicate markups (i.e.
filter matches). Provide a special version of LT that still shows the
problem for the LO developers so they can debug the issue. Jan, would you
like to submit a bug report at LO?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3523776&group_id=110216

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to