Returns a set of all known inflected forms of a verb.
Returns a set of all known inflected forms of a verb.
This handles auxiliary & other verbs. It is designed to also include irregular forms, for example dream(past) -> { dreamed, dreamt }, if we add them manually to extraForms (see Inflections companion object). Also includes contractions.
a verb (stem not necessary)
all possible forms of the verb
Returns the inflected forms for the given verb if it is in the dictionary.
Returns the inflected forms for the given verb if it is in the dictionary. If it's hyphenated, operates on the suffix after the first hyphen and replaces the prefix at the beginning.
Also note that this does not handle be-verbs. TODO: handle these in the future?
the inflections of the given verb
Normalizes a modal (i.e., undoes its contraction form), otherwise identity.
The stem of a verb, including "be".
Whether a word is present in the dictionary, auxiliary verbs not included.
Whether a word is a known copula.
Whether a word is a known modal verb.
Whether a word is a known verb stem.
Class for easy access to verb inflections.
Backed by Java code (VerbInflectionDictionary) that loads a list of verb forms from a local text file that was scraped from Wiktionary. TODO: make it cross-platform.
Makes heavy use of the "LowerCaseString" abstraction that ensures strings are lower case on the type level.