Package com.articulate.sigma.nlg
Class Noun
java.lang.Object
com.articulate.sigma.nlg.Noun
Provides functionality related to nouns and NLG.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Noun
public Noun()
-
-
Method Details
-
aOrAn
Look at first letter of input to determine whether it should be preceded by "a" or "an".- Parameters:
input-- Returns:
- "a" or "an"
-
takesIndefiniteArticle
Determine whether the given noun requires an indefinite article ("a"/"an").- Parameters:
noun-kb-- Returns:
-