public final void train(Collection<Tree> trees, double weight) {
    // scan data
    for (Tree tree : trees) {
      train(tree, weight);
    }
  }
public final void train ( Collection < Tree > trees , double weight ) { for ( Tree tree : trees ) { train ( tree , weight ) ; } }
Trains this lexicon on the Collection of trees.
Also trains the unknown word model pointed to by this lexicon.