A predicate that tests whether a property key is a MWE property.
A predicate that tests whether a property key is a MWE property.
the input key
true if key
is a MWE property key, false otherwise
The symbol used to represent the property "token appears within some MWE".
The token properties are boolean indicators, so the MWE token properties will have this placeholder value.
The symbol used to represent the property "token appears with this particular MWE".
A function that adds new token properties to a sentence if that token appears within a multi-word expression in the dictionary. The new properties are
MultiWordTagger.mweSymbol -> MultiWordTagger.mweValue
and
MultiWordTagger.symbolFor(mwe) -> MultiWordTagger.mweValue
The first property encodes the the fact that the token appears within any MWE. The second property encodes the fact that the token appears within a particular MWE. Tokens that do not occur within a particular MWE will not be given any additional properties.