private Set < String > loadVerbStemSet ( String [ ] verbStems ) { HashSet < String > set = new HashSet < String > ( verbStems . length ) ; for ( String stem : verbStems ) { set . add ( stem ) ; } return set ; }
Loads a list of words from the array and stores them in a HashSet .