Giter Site home page Giter Site logo

songrb / deepdivechineseapps Goto Github PK

View Code? Open in Web Editor NEW
34.0 34.0 14.0 2.08 MB

DeepDive Tutorial with Chinese Support

License: MIT License

Shell 7.19% HTML 8.93% CoffeeScript 1.51% Scala 14.81% CSS 10.60% XSLT 50.89% Python 6.08%
chinese-nlp deepdive natural-language-processing

deepdivechineseapps's People

Contributors

songrb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

deepdivechineseapps's Issues

运行run.sh报错

当我配置好环境,下载完斯坦福的两个工具包,重新运行stb/stb stage编译完项目之后,开始执行./run.sh -p 8080命令,但是程序报错了。看起来不像是因为我的环境问题,似乎更像是源码的错误。但是我并不擅长于scala语言,能否给我一点修改的意见,应该怎样做才能正常运行程序呢?非常感谢。

Parsing with max_len=1000
17:21:25.733 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Registering annotator segment with class edu.stanford.nlp.pipeline.ChineseSegmenterAnnotator
17:21:25.761 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator segment
17:21:37.766 [main] INFO e.s.n.ie.AbstractSequenceClassifier - Loading classifier from edu/stanford/nlp/models/segmenter/chinese/ctb.gz ... done [11.9 sec].
17:21:37.768 [main] INFO e.s.nlp.pipeline.StanfordCoreNLP - Adding annotator ssplit

Exception in thread "main" java.lang.IllegalArgumentException: annotator "ssplit" requires annotation "IsNewlineAnnotation". The usual requirements for this annotator are: tokenize
at edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:504)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:201)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:194)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:181)
at com.clearcut.nlp.DocumentParser.(DocumentParser.scala:15)
at com.clearcut.nlp.Main$delayedInit$body.apply(Main.scala:79)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
at scala.App$class.main(App.scala:71)
at com.clearcut.nlp.Main$.main(Main.scala:10)
at com.clearcut.nlp.Main.main(Main.scala)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.