case classKeywordTransform(keywords: Set[Symbol]) extends TokenTransform with Product with Serializable
The KeywordTransform maps a token to its word representation, if its word appears in the
argument set keywords. Otherwise its apply function will return an empty set (if the
StateRef points to a valid token) or TokenTransform.noTokenHere (if the StateRef points
to an invalid token)
See the definition of TokenTransform (above) for more details about the interface.
The KeywordTransform maps a token to its word representation, if its word appears in the argument set
keywords
. Otherwise its apply function will return an empty set (if the StateRef points to a valid token) or TokenTransform.noTokenHere (if the StateRef points to an invalid token)See the definition of TokenTransform (above) for more details about the interface.