22232425262728
private static final long serialVersionUID = 8L; public TreeReader newTreeReader(Reader in) { return new PennTreeReader(in, new LabeledScoredTreeFactory(), new SpanishTreeNormalizer(false, false, false), new PennTreebankTokenizer(in)); }
18192021222324
public class HebrewTreeReaderFactory implements TreeReaderFactory, Serializable { private static final long serialVersionUID = 818065349424602548L; public TreeReader newTreeReader(Reader in) { return new PennTreeReader(in, new LabeledScoredTreeFactory(), new HebrewTreeNormalizer(),new PennTreebankTokenizer(in)); }