Done.

One more thing. The first word of a sentence (the first token after
SENT_START) usually (always?) has isWhitespaceBefore=FALSE. Could we set it
to TRUE? That way I think I would have to write less grammar and
disambiguation rules.

Best,
Jaume


2013/1/13 Marcin Miłkowski <list-addr...@wp.pl>

> Hi,
>
> this is an excellent idea!
>
> Regards,
> Marcin
>
> W dniu 2013-01-13 10:44, Jaume Ortolà i Font pisze:
> > Hi,
> >
> > I would like to add the isWhitespaceBefore information to the historical
> > annotations of the disambiguator, so any problem can be easily spotted
> > and fixed. When isWhitespaceBefore=false then an asterisk will be shown
> > after the postag: "word[lemma/POS*]". Is this OK for everybody? Some
> > JUnit tests have to be corrected. If you agree, I can do it myself.
> >
> > The code change would be in AnalyzedTokenReadings.java:
> >
> >    @Override
> >    public String toString() {
> >      final StringBuilder sb = new StringBuilder();
> >      sb.append(token);
> >      sb.append("[");
> >      for (final AnalyzedToken element : anTokReadings) {
> >        sb.append(element);
> >        if (!element.isWhitespaceBefore())   // ADDED LINES
> >   sb.append("*");                             // ADDED LINES
> >        sb.append(",");
> >      }
> >      sb.delete(sb.length() - 1, sb.length());
> >      sb.append("]");
> >      return sb.toString();
> >    }
> >
> >
> > Regards,
> > Jaume Ortolà
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnmore_123012
> >
> >
> >
> > _______________________________________________
> > Languagetool-devel mailing list
> > Languagetool-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/languagetool-devel
> >
>
>
>
> ------------------------------------------------------------------------------
> 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. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
------------------------------------------------------------------------------
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. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to