private Sequence<TK> extractTarget(List<Derivation<TK,FV>> latticePath){
  List<TK> tokens=new ArrayList<>(100);
  for (  Derivation<TK,FV> node : latticePath) {
    if (node.rule != null) {
      for (      TK token : node.rule.abstractRule.target) {
        tokens.add(token);
      }
    }
  }
  return new ArraySequence<>(tokens);
}

private Sequence < TK > extractTarget ( List < Derivation < TK , FV > > latticePath ) { List < TK > tokens = new ArrayList < > ( 100 ) ; for ( Derivation < TK , FV > node : latticePath ) { if ( node . rule != null ) { for ( TK token : node . rule . abstractRule . target ) { tokens . add ( token ) ; } } } return new ArraySequence < > ( tokens ) ; }
extract the target sequence from the lattice path .
