docs: private static Set<LexiconEntry> getLexiconEntriesFromParses(Collection<CcgParse> parses) {
      // Generate candidate lexicon entries from the correct max parses.
      Set<LexiconEntry> candidateEntries = Sets.newHashSet();
      for (CcgParse correctMaxParse : parses) {
        for (LexiconEntryInfo info : correctMaxParse.getSpannedLexiconEntries()) {
          CcgCategory category = info.getCategory();
          Object trigger = info.getLexiconTrigger();
          List<String> words = (List<String>) trigger;
                  
          candidateEntries.add(new LexiconEntry(words, category));
        }
      }
      return candidateEntries;
    }