On 2015-01-20 14:29, Andriy Rysin wrote:

> So in JLanguageToolTest.testAnalyzedSentence() (line 133) the expected
> reading for token with soft hyphen excpects test­ed/null, but I don't
> really understand this logic.

I think the null is probably not the point, the code in 
JLanguageTool.getRawAnalyzedSentence() seems to re-add the token with 
the soft hyphen again. It probably simply uses null as a POS tag because 
I (or whoever added it) though it shouldn't hurt. So maybe just the 
token needs to be set, not another reading (adding the null reading may 
be just a side effect).

Regards
  Daniel


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to