private Long tokenMatch ( SNode tok ) { // check if the span is a matched node SFeature featMatched = tok . getFeature ( ANNIS_NS , FEAT_MATCHEDNODE ) ; Long matchRaw = featMatched == null ? null : featMatched . getValue_SNUMERIC ( ) ; return matchRaw ; }
Checks if a token is a marked match