Class SumoProcess

java.lang.Object
com.articulate.sigma.nlg.SumoProcess

public class SumoProcess extends Object
Handles verb functionality for a SUMO process.
  • Constructor Details

    • SumoProcess

      public SumoProcess(SumoProcess process, KB kb)
    • SumoProcess

      public SumoProcess(String verb, KB kb)
  • Method Details

    • toString

      public String toString()
      Indirectly invoked by SumoProcessCollector.toString( ).
      Overrides:
      toString in class Object
      Returns:
    • getSurfaceForm

      public String getSurfaceForm()
      Returns:
    • formulateNaturalVerb

      public void formulateNaturalVerb(Sentence sentence)
      Try to phrase the verb into natural language, setting this object's internal state appropriately.
      Parameters:
      sentence -
    • getVerb

      public String getVerb()
      Returns:
    • setPolarity

      public void setPolarity(VerbProperties.Polarity polarity)
    • verbRootToThirdPersonSingular

      public static String verbRootToThirdPersonSingular(String verbRoot)
      Parameters:
      verbRoot -
      Returns:
    • getVerbRootForm

      public static String getVerbRootForm(String gerund)
      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