List of usage examples for edu.stanford.nlp.pipeline DefaultPaths DEFAULT_PARSER_MODEL
String DEFAULT_PARSER_MODEL
To view the source code for edu.stanford.nlp.pipeline DefaultPaths DEFAULT_PARSER_MODEL.
Click Source Link
From source file:org.ets.research.nlp.stanford_thrift.parser.StanfordParserThrift.java
License:Open Source License
private void loadModel(String modelFile) { if (modelFile.equals("") || modelFile == null) { parser = LexicalizedParser.loadModel(DefaultPaths.DEFAULT_PARSER_MODEL, new String[] {}); } else {/*from w ww. j a va2 s. c o m*/ parser = LexicalizedParser.loadModel(modelFile, new String[] {}); } }