Example usage for edu.stanford.nlp.trees MemoryTreebank MemoryTreebank

List of usage examples for edu.stanford.nlp.trees MemoryTreebank MemoryTreebank

Introduction

In this page you can find the example usage for edu.stanford.nlp.trees MemoryTreebank MemoryTreebank.

Prototype

public MemoryTreebank(int initialCapacity, TreeReaderFactory trf) 

Source Link

Document

Create a new tree bank.

Usage

From source file:Ceist.TreeData.java

License:Open Source License

public TreeData() {
    TreeReaderFactory trf;/*from   ww  w .  ja v  a  2s. c  om*/
    trf = new TreeMatcher.TRegexTreeReaderFactory();
    treebank = new MemoryTreebank(trf, "UTF-8");

    treeLimit = 30000;
    loaded = false;
}