ubermichael / isetools

Tools for parsing data for the Internet Shakespeare Editions
GNU General Public License v2.0
2 stars 3 forks source link

Feature: check usage of HW #8

Closed telic closed 2 years ago

telic commented 9 years ago

HW should always be used at the end of a line, and never span more than one line.

ubermichael commented 9 years ago

And line in this context means text followed by a newline?

ubermichael commented 9 years ago

And this will probably need a HungWordValidator or something like it.

telic commented 9 years ago

And line in this context means text followed by a newline?

Yes.

ubermichael commented 8 years ago

Add dom.getLinedom.getParsedLine(int n) to give all the nodes in document order for that line. There was already a dom.getLine() that did something similar. dom.getParsedLine is coming with the RuleValidator.