I want to make a rule with a token that has this (theoretical) form:
to|“SENT_END”
LT doesn’t recognise it. How can I make this work?
I want to make a rule with a token that has this (theoretical) form:
to|“SENT_END”
LT doesn’t recognise it. How can I make this work?
<or>
<token>to</token>
<token postag="SENT_END"/>
</or>
Ah, right. Thanks, Mike!
This can’t be done with Rule Editor, right?
When you say | means ‘or’. This is might have caused a confusion.
Try instead <token postag='SENT_END'>to</token>