public class Noun
extends java.lang.Object
Constructor and Description |
---|
Noun() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
aOrAn(java.lang.String input)
Look at first letter of input to determine whether it should be preceded by "a" or "an".
|
static boolean |
takesIndefiniteArticle(java.lang.String noun,
KB kb)
Determine whether the given noun requires an indefinite article ("a"/"an").
|
public static java.lang.String aOrAn(java.lang.String input)
input
- public static boolean takesIndefiniteArticle(java.lang.String noun, KB kb)
noun
- kb
-