Package com.articulate.sigma.nlg
Class SumoProcessEntityProperty
java.lang.Object
com.articulate.sigma.nlg.SumoProcessEntityProperty
- All Implemented Interfaces:
Comparable
Hold properties associated with a SumoProcessCollector. Properties refers to adjectives (SUO-Kif "attributes") as well
as any other expression or phrase modifying an entity.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SumoProcessEntityProperty
- Parameters:
form-
-
-
Method Details
-
getSurfaceFormForNoun
For a given property, combine it with the given noun into a natural-sounding expression. E.g., "hat" + black-attribute -> "black hat"; "hat" + location-on-dresser-attribute -> "hat on the dresser".- Parameters:
noun-- Returns:
-
toString
-
compareTo
Allows sortable collections of these objects.- Specified by:
compareToin interfaceComparable- Parameters:
o-- Returns:
-