code: func WithGeneratedCorpus(sts ...treebank.SentenceTag) TrainerConsOpt {
  	f := func(t *Trainer) {
  		dict := corpus.GenerateCorpus(sts)
  		if t.corpus == nil {
  			t.corpus = dict
  		} else {
  			t.corpus.Merge(dict)
  		}
  
  		t.nn.dict = t.corpus
  	}
  	return f
  }
docs: // WithGeneratedCorpus creates a Trainer's corpus from a list of SentenceTags. The corpus will be generated from the SentenceTags