I am trying out a JAPE snippet and trying to understand the concept of Space Token.
Phase: Apple
Input: Token SpaceToken Lookup
Options: control = appelt
Rule: Country
(
{Token.string == "President"}
{SpaceToken}
{Lookup.majorType==location}
):impPersons
This JAPE is annotating President USA, President India but not PresidentIndia or PresidentUSA. This annotation remains same if I remove Space Token from Input and LHS in the above code. Then if with Space Token without Space Token both annotate the same elements, what is the basic difference?
Any help will be appreciated.