Bugs item #3520576, was opened at 2012-04-23 02:19
Message generated for change (Comment added) made by pax523
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3520576&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: Problem with German
Group: 1.7
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Andreas Lück (pax523)
Assigned to: Daniel Naber (dnaber)
Summary: False positive: More than one line break within one sentence

Initial Comment:
If you have following sentence then LT detects a sentence begin error 
("laufend" -> "Laufend"):

"Ein Satz mit\n
\n
laufend neuen Fehlern."

This is because it detects two consecutive line breaks as a sentence 
terminator. Maybe this would be an unexpected behavior.

I also tested this case with English language (same results).

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

>Comment By: Andreas Lück (pax523)
Date: 2012-04-24 23:26

Message:
Ok, I realized that the issue wasn't already there if the first paragraph
ends with a comma (currently LT 1.4 in use). If the comma is missing, then
LT shows a grammar error alert. For instance:

"Ein Satz mit

laufend Fehlern."  ("laufend" --> "Laufend")

If there's a comma at the end LT detects that both paragraphs belong to the
same sentence:

"Sehr geehrte Damen und Herren,

und so weiter." (no error)

In my opinion, this behavior is correct. Because the first example could be
a subject line (Betreffzeile), so the next paragraph must start with an
uppercase letter.

I also tested the current snapshot. The behavior seems to be the same (it's
correct). We will migrate to the actual LT relase in the next time.

Thanks for your very quick help, Daniel!

Best regards

PAX

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

Comment By: Daniel Naber (dnaber)
Date: 2012-04-24 13:57

Message:
The special case of a salutation should be fixed (see
http://sourceforge.net/tracker/?func=detail&atid=655717&aid=2830181&group_id=110216).
Are you using the latest version of LT and if so, how exactly are you
testing? In the GUI, via Java?

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

Comment By: Andreas Lück (pax523)
Date: 2012-04-23 21:26

Message:
This depends on your implementation that links LT. If you have following
two paragraphs:

"Sehr geehrte Damen und Herren,\n
\n
es ist mir ein großes Vergnügen..."

If your implementation checks the second paragraph but includes the last
part of the previous paragraph to consider the entire context then it must
remove all unneccessary line breaks. Otherwise, LT is confused. This would
be uncomfortable.

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

Comment By: Daniel Naber (dnaber)
Date: 2012-04-23 09:59

Message:
Well, we consider this a feature... Is there a case (not counting broken
formatting) where there are two line breaks and there's not a new sentence?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3520576&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