Git Product home page Git Product logo

Comments (3)

bch80 avatar bch80 commented on September 24, 2024

Oh .. sorry for that one. It says so in the bootstrap.php:

// if you want specific annotators, you can do it like this: // define('CURLPROPERTIES' , '%22annotators%22%3A%22tokenize%2Cregexner%2Cparse%2Cdepparse%2Cpos%2Clemma%2Cmention%2Copenie%2Cner%2Ccoref%2Ckbp%22%2C%22prettyPrint%22%3A%22true%22');

from php-stanford-corenlp-adapter.

DennisDeSwart avatar DennisDeSwart commented on September 24, 2024

Hi Chris8080,

Yes, you can change them in "bootstrap.php". As you can see, it's not easy to edit, I wanted to make that a bit more user friendly. But it works. Don't remove the bits at the end. Try something like this:

define('CURLPROPERTIES' , '%22annotators%22%3A%22tokenize%2Cparse%2Cdepparse%22%2C%22prettyPrint%22%3A%22true%22');

from php-stanford-corenlp-adapter.

 avatar commented on September 24, 2024

FYI, this doesn't seem to work. For example, I tried

define('CURLPROPERTIES' , '%22annotators%22%3A%22ner%22%2C%22prettyPrint%22%3A%22true%22');

And the server still runs it with full annotators.

from php-stanford-corenlp-adapter.

Related Issues (8)

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.