2016-06-12 4 views

Antwort

0

Es scheint, dass alle Demo-Funktionen, die im Stanford-Demo-Code zur Verfügung gestellt werden, gut mit den folgenden Maven-Abhängigkeiten funktionieren und sonst nichts. Stanford corenlp ist ein Ungetüm, aber der Stanford-Parser ist nur ein kleiner Klassenraum. Die Modelle von core-nlp jar arbeiten mit Stanford-Parser.

<dependency> 
 
    <groupId>edu.stanford.nlp</groupId> 
 
    <artifactId>stanford-corenlp</artifactId> 
 
    <version>3.6.0</version> 
 
</dependency> 
 

 
<dependency> 
 
    <groupId>edu.stanford.nlp</groupId> 
 
    <artifactId>stanford-corenlp</artifactId> 
 
    <version>3.6.0</version> 
 
</dependency> 
 
<dependency> 
 
    <groupId>edu.stanford.nlp</groupId> 
 
    <artifactId>stanford-corenlp</artifactId> 
 
    <version>3.6.0</version> 
 
    <classifier>models</classifier> 
 
</dependency> 
 
<!-- http://mvnrepository.com/artifact/edu.stanford.nlp/stanford-parser --> 
 
<dependency> 
 
    <groupId>edu.stanford.nlp</groupId> 
 
    <artifactId>stanford-parser</artifactId> 
 
    <version>3.6.0</version> 
 
</dependency>