Menu

#154 Regexp sanity checks not run for disambiguation.xml

closed-fixed
nobody
None
3
2013-03-03
2012-12-31
No

Currently "ant test" performs several saniy cheks on regular expressions (POS tags or token strings) in rules/*/grammar.xml which helped catching several issues.

Those tests are currently not run on regexps in resources/*/disambiguation.xml.
It would be nice to run them for disambiguation.xml too.

The syntax of pattens/token/exception/regexp is pretty much the same as in grammar/*rules.xml so it should be possible.

I suspect that it would find several issues there, especially since some language are having large disambiguation.xml files now.

Discussion

  • Marcin Miłkowski

    • status: open --> closed-fixed
     
  • Marcin Miłkowski

    Fixed in the current SVN.

     

Log in to post a comment.