Code Monkey home page Code Monkey logo

Comments (9)

nerzid avatar nerzid commented on September 13, 2024 3

I've just solved this issue via adding the following dependency to pom.xml

<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
<dependency>
    <groupId>com.google.protobuf</groupId>
    <artifactId>protobuf-java</artifactId>
    <version>3.0.2</version>
</dependency>

from stanford.nlp.net.

nerzid avatar nerzid commented on September 13, 2024 1

I've the same issue.

from stanford.nlp.net.

nerzid avatar nerzid commented on September 13, 2024 1

Whoops... You're right 😄 . I was using java version of it but anyway if anyone comes with that error, now they know how to solve it if they'r using java.

from stanford.nlp.net.

jsnreddy avatar jsnreddy commented on September 13, 2024 1

I have tried the StanfordCoreNLP 3.7.0 but I am still facing this problem. I have tried adding protobuf-java-3.0.2.jar to the classpath but still there is an error when trying to load coreNLP server.

Also tried 3.6.0 with the protobuf-java-3.0.2.jar in the classpath, I was facing the same problem there as well.

Is this fixed in the latest jar available for download. Or should I compile from the latest sources?
Any suggestions?

from stanford.nlp.net.

sergey-tihon avatar sergey-tihon commented on September 13, 2024

Wow... CoreNLP uses pom.xml to load dependencies ... Very strange!
@nerzid Are you sure that you use .NET version of CoreNLP ?)
In which directory you created pom.xml file? (I do not ship it with NuGet package)

from stanford.nlp.net.

sartan avatar sartan commented on September 13, 2024

FYI- supposedly will be fixed in CoreNLP 3.7.0

stanfordnlp/CoreNLP#171 (comment)

from stanford.nlp.net.

sergey-tihon avatar sergey-tihon commented on September 13, 2024

@sartan you may verify it https://www.nuget.org/packages/Stanford.NLP.CoreNLP/3.7.0-beta

from stanford.nlp.net.

sergey-tihon avatar sergey-tihon commented on September 13, 2024

This repo is for Stanford.NLP.NET and version 3.7.0 is not available of NuGet yet.

from stanford.nlp.net.

sergey-tihon avatar sergey-tihon commented on September 13, 2024

.NET samples for Simple CoreNLP published here
https://sergey-tihon.github.io/Stanford.NLP.NET/samples/CoreNLP.Simple.html

from stanford.nlp.net.

Related Issues (20)

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.