remove unused lines in Outcast.java, extract checkNouns method for throw exception in WordNet.java