GithubHelp home page GithubHelp logo

Comments (9)

jdchoi77 avatar jdchoi77 commented on August 20, 2024

Could you give me an example of the aspect you're describing? Thanks.

from nlp4j-old.

reckart avatar reckart commented on August 20, 2024

I am building UIMA wrappers for NLP4J in DKPro Core. Here it is useful to check if

  • a) the wrapper already supports all the features used by a model, e.g. to throw an exception if a model uses a feature in a feature template for which no conversion UIMA<->NLP4J has been implemented yet
  • b) the features actually have been annotated in the document -, e.g. to throw an exception of the NLP4J dependency parser is invoked without first having annotated POS.

See for example:

from nlp4j-old.

jdchoi77 avatar jdchoi77 commented on August 20, 2024

Got it; I'll work on this for the next version as well.

from nlp4j-old.

reckart avatar reckart commented on August 20, 2024

Is this implemented in 1.1.0? It seems there is still no accessor method.

from nlp4j-old.

jdchoi77 avatar jdchoi77 commented on August 20, 2024

Not yet, 1.1.0 release was not planned but I found a way of reducing the models, which was asked by so many people, so decided to make an early release. I'll make a minor release (possibly, 1.1.1) for this change. Thanks for reminder.

best,

Jinho

from nlp4j-old.

jdchoi77 avatar jdchoi77 commented on August 20, 2024

Would something like this work for you?

https://github.com/emorynlp/nlp4j-core/blob/master/src/main/java/edu/emory/mathcs/nlp/component/template/feature/FeatureTemplate.java#L80
https://github.com/emorynlp/nlp4j-core/blob/master/src/main/java/edu/emory/mathcs/nlp/component/template/feature/FeatureTemplate.java#L85
https://github.com/emorynlp/nlp4j-core/blob/master/src/main/java/edu/emory/mathcs/nlp/component/template/feature/FeatureTemplate.java#L90

Please let me know if you need more methods. I'm going to make the 1.1.1 release with this change once this gets resolved. Thanks!

best,

Jinho

from nlp4j-old.

reckart avatar reckart commented on August 20, 2024

That should be working just nicely. Do you have a Maven repo with SNAPSHOT builds somewhere?

from nlp4j-old.

jdchoi77 avatar jdchoi77 commented on August 20, 2024

I'm pushing a new release with this change now; will make the release note in few minutes.

from nlp4j-old.

jdchoi77 avatar jdchoi77 commented on August 20, 2024

I'm closing this issue; please let me know if more things come up. Thanks.

from nlp4j-old.

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.