Back to LanguageTool Homepage - Privacy - Imprint

Rule Making: How to mix postag and word in a token?

(Kumara) #1

I want to make a rule with a token that has this (theoretical) form:

LT doesn’t recognise it. How can I make this work?

(Mike Unwalla) #2
  <token postag="SENT_END"/>

Refer to

(Kumara) #3

Ah, right. Thanks, Mike!
This can’t be done with Rule Editor, right?

(Tiago F. Santos) #4

When you say | means ‘or’. This is might have caused a confusion.

Try instead <token postag='SENT_END'>to</token>