"@VP < /^NP-ADV/=target",
});
public static class NpAdverbialModifierGRAnnotation extends GrammaticalRelationAnnotation { }
public static final GrammaticalRelation TEMPORAL_MODIFIER =
new GrammaticalRelation(Language.English, "tmod", "temporal modifier",
<BUG>TemporalModifierGRAnnotation.class, NP_ADVERBIAL_MODIFIER, "VP|S|ADJP|PP|SBAR|SBARQ|NP|RRC", tregexCompiler,
new String[] {
"VP|ADJP|RRC < NP-TMP=target",
"VP|ADJP|RRC < (NP=target <# (/^NN/ < " + timeWordRegex + ") !$+ (/^JJ/ < old))",
"@PP < (IN|TO|VBG|FW $++ (@NP $+ NP-TMP=target))",</BUG>
"@PP < (IN|TO|VBG|FW $++ (@NP $+ (NP=target <# (/^NN/ < " + timeWordRegex + "))))",

"@VP < /^NP-ADV/=target",
});
public static class NpAdverbialModifierGRAnnotation extends GrammaticalRelationAnnotation { }
public static final GrammaticalRelation TEMPORAL_MODIFIER =
new GrammaticalRelation(Language.English, "tmod", "temporal modifier",
TemporalModifierGRAnnotation.class, NP_ADVERBIAL_MODIFIER, "VP|S|ADJP|PP|SBAR|SBARQ|NP", tregexCompiler,
new String[] {
"VP|ADJP < NP-TMP=target",
"VP|ADJP < (NP=target <# (/^NN/ < " + timeWordRegex + ") !$+ (/^JJ/ < old))",
"@PP < (IN|TO|VBG|FW $++ (@NP $+ NP-TMP=target))",
"@PP < (IN|TO|VBG|FW $++ (@NP $+ (NP=target <# (/^NN/ < " + timeWordRegex + "))))",
