code: public Set<String> getVocab() {
          Set<String> vocab = new HashSet<String>();
          for (Sentence sent : this) {
              for (String label : sent) {
                  vocab.add(label);
              }
          }
          return vocab;
      }
docs: Vocabulary of the sentences.