I’m basically trying to write a rule that suggests replacing runtime
with the noun form run time
or the adjective run-time
. Is there a way to express this? I’ve seen the guides that say you can match the inflection of the suggestion to the inflection of the matched token, but LT isn’t aware that the hyphen should be present for the adjective inflection.
Is there some kind of “if/else” or “filter” I can use to only suggest adjectives when runtime is used as an adjective, and nouns when runtime is used as a noun?