Package com.articulate.sigma.nlg
Class SumoProcess
java.lang.Object
com.articulate.sigma.nlg.SumoProcess
Handles verb functionality for a SUMO process.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidformulateNaturalVerb(Sentence sentence) Try to phrase the verb into natural language, setting this object's internal state appropriately.getVerb()static StringgetVerbRootForm(String gerund) Get the root of the given verb.voidsetPolarity(VerbProperties.Polarity polarity) toString()Indirectly invoked by SumoProcessCollector.toString( ).static StringverbRootToThirdPersonSingular(String verbRoot)
-
Constructor Details
-
SumoProcess
-
SumoProcess
-
-
Method Details
-
toString
Indirectly invoked by SumoProcessCollector.toString( ). -
getSurfaceForm
- Returns:
-
formulateNaturalVerb
Try to phrase the verb into natural language, setting this object's internal state appropriately.- Parameters:
sentence-
-
getVerb
- Returns:
-
setPolarity
-
verbRootToThirdPersonSingular
- Parameters:
verbRoot-- Returns:
-
getVerbRootForm
Get the root of the given verb.- Parameters:
gerund- the verb in gerund (-ing) form.- Returns:
- the root of the given verb, or null if not found
-