Bugs item #3573951, was opened at 2012-10-02 16:15
Message generated for change (Comment added) made by dominikoeo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3573951&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 French
Group: 1.9
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dominique Pelle (dominikoeo)
Assigned to: Dominique Pelle (dominikoeo)
Summary: LanguageTool-1.9 is not correctly splitting into sentences

Initial Comment:
LanguageTool-1.9 is not correctly splitting into sentences, causing some errors 
not to be found.

In the following example (French), 2 identical sentences are checked.  Notice 
that LT only reports
an error in the first sentence.  I would expect LT to detect an error in the 
second sentence as well.

Verbose output (-v) shows that LT considers the input text as one sentence.  I 
would have expected
it to be treated as two sentences, split at the location of the dot.  I don't 
see why it was not split at
first sight, but I have not spent time debugging it yet.


$ echo "Les salades mangée. Les salades mangée." | \
   java -jar languagetool//dist/LanguageTool.jar -l fr -v
Expected text language: French
Working on STDIN...
2138 rules activated for language French
<S> Les[le/D e p]  salades[salade/N f p]  mangée[manger/V ppa f s,mangé/J f 
s].[./M fin]  Les[le/D e p]  salades[salade/N f p]  mangée[manger/V ppa f 
s,mangé/J f s].[./M fin,</S>]<P/> 
Disambiguator log: 

RP-D_N_AMBIG: Les[le/D e p,les/R pers obj 3 p] -> Les[le/D e p]
RB-LE_LA_LES: Les[le/D e p] -> Les[le/D e p]

RP-D_N_AMBIG: salades[salade/N f p] -> salades[salade/N f p]

RP-D_N_AMBIG: Les[le/D e p,les/R pers obj 3 p] -> Les[le/D e p]
RB-LE_LA_LES: Les[le/D e p] -> Les[le/D e p]

RP-D_N_AMBIG: salades[salade/N f p] -> salades[salade/N f p]

1.) Line 1, column 13, Rule ID: ACCORD_NOM_VERBE[6]
Message: Le verbe « mangée » devrait être à la 3e personne du pluriel.
Les salades mangée. Les salades mangée. 
            ^^^^^^                      
Time: 526ms for 1 sentences (1.9 sentences/sec)


Anyway, perhaps this may be fixed if I use SRX sentence tokenization for
French, a task which I have postponed for too long.  However, it might be worth
fixing it as there are other languages not using the SRX sentence tokenizer
which might also be affected.


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

>Comment By: Dominique Pelle (dominikoeo)
Date: 2013-01-04 15:00

Message:
This example now works correctly in French. I suppose that using SRX
sentence tokenizer fixes it.
But the same problem may be in languages which don't use SRX sentence
tokenizer yet.
Well, that's one more incentive to switch to SRX.

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

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

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to