Bugs item #3573951, was opened at 2012-10-02 16:15
Message generated for change (Tracker Item Submitted) 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.


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

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

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to