// Bind node pattern so we can do patterns like: compile("... temporal::IS_TIMEX_DATE ..."); // (TimexTypeMatchNodePattern is a NodePattern that implements some custom logic) env.bind("::IS_TIMEX_DATE", new TimexTypeMatchNodePattern(SUTime.TimexType.DATE));
Actions (partially implemented)
pattern ==> action
&annotate( { ner="DATE" } )
pattern.getAction().apply(match, groupid)
|
|