code: public static Synset[] findAlternatives(String term) {
          WordNetDatabase database = WordNetDatabase.getFileInstance();   
          Synset[] all = database.getSynsets(term);
          return all;
      }
docs: Returns the synonyms for the specified term.  The synonyms will be taken
  directly from the WordNet database.  This is used by LRA to find
  alternative pairs. Given an input set of A:B.  For each A' that is
  similar to A, make a new pair A':B.  Likewise for B.
  
  @param term a {@code String} containing a single word
  @return an array of all the synonyms