Optional internal testing of segmentation rules

Issue #62 wontfix
Former user created an issue

Original [issue 62](https://code.google.com/p/okapi/issues/detail?id=62) created by marcin.milkow... on 2009-05-02T15:54:20.000Z:

As Ratel already has example text, it would be easy to implement internal quality "unit" tests by adding a special tag that shows the expected break:

Mr. Jekyll and Mr. Hyde went for a walk. <break/>They told Gen. J. Sherman to feed his dog at 5 a.m. and went to bed. <break/>

I can implement this myself in my LanguageTool JUnit tests but it would be nice to have during writing the rules.

Another kind of internal testing would be highlighting the rules that were matched for a given break. This is not so trivial to have but it would make debugging easier. I really needed this yesterday :)

Comments (3)

  1. Log in to comment