question: private boolean isNoun ( String word ) { if ( nouns == null ) return false ; return nouns . contains ( word . toLowerCase ( ) ) ; }
target:  If this is word is a thing in our repository it is a noun. An alternative is to use a wordnet database.