Closed vsraptor closed 1 year ago
Is there a way to in general ignore white space but use it for parsing in some rules ... f.e. i want to distinguish between sentence/s and a block of sentences
sentence : words+ "." sentences : sentence+ block : NL NL sentences NL NL %ignore.WS
Did you try giving NL a higher priority?
it worked, thanks
Is there a way to in general ignore white space but use it for parsing in some rules ... f.e. i want to distinguish between sentence/s and a block of sentences