Comments (4)
What is your input format? I believe NLPDecoder can be used for this but if you let me know the format, I can provide more fine-grained API.
from nlp4j-old.
we are calling the decoder with a text file, it is taking around 2 mins 30
seconds to process
On Wed, Jun 8, 2016 at 11:27 PM, Jinho D. Choi [email protected]
wrote:
What is your input format? I believe NLPDecoder
https://github.com/emorynlp/nlp4j/blob/master/src/main/java/edu/emory/mathcs/nlp/decode/NLPDecoder.java
can be used for this but if you let me know the format, I can provide more
fine-grained API.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
emorynlp/nlp4j#17 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/ANLoeue3kt7jwNdPnnS7T8Rc1aZyRF1mks5qJwKfgaJpZM4Iw9tY
.
from nlp4j-old.
I think most of the time is perhaps spent for model loading. Here is the API you can use for this purpose:
Here is the configuration file you can use just for pos tagging:
https://github.com/emorynlp/nlp4j-demo/blob/master/src/main/resources/configuration/config-decode-en-pos.xml
The following line loads all the models, which should be done only once:
NLPDecoder decoder = new NLPDecoder(IOUtils.getInputStream(configurationFile));
Thanks.
from nlp4j-old.
Thanks a lot for the reply, I will check and let you know if we have
further issues
Regards,
Debanjan
On Wed, Jun 8, 2016 at 11:55 PM, Jinho D. Choi [email protected]
wrote:
I think most of the time is perhaps spent for model loading. Here is the
API you can use for this purpose:Here is the configuration file you can use just for pos tagging:
The following line loads all the models, which should be done only once:
NLPDecoder decoder = new NLPDecoder(IOUtils.getInputStream(configurationFile));
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
emorynlp/nlp4j#17 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/ANLoevpQfdbT1GpK4ZmvqqbetnH3bMz1ks5qJwkVgaJpZM4Iw9tY
.
from nlp4j-old.
Related Issues (20)
- Part-of-Speech Tagging example HOT 1
- ArrayIndexOutOfBoundException in NER Training HOT 4
- Adding new values to Named Entity. HOT 5
- StringIndexOutOfBoundsException HOT 1
- How do you use the POS tagger? HOT 2
- Are components reentrant? Can components be cloned? HOT 2
- Does the dependency parser 'depend' on the named entity tagger? HOT 1
- Garbage tokens? HOT 2
- Dep parser appears to produce multiple nodes with the head of the tree as the root. HOT 1
- Universal Dependencies HOT 10
- CLI for Eval? HOT 2
- Infinite recursion in AbstractNLPDecoder.createTSVReader() HOT 2
- slf4j would be more flexible than raw log4j HOT 6
- Two root nodes from one sentence to the DP, any advice? HOT 5
- POS tagger model takes time to load HOT 2
- Exception reading dependency model HOT 1
- How to speed up the dependency parser by reworking one method HOT 2
- tsv option not working HOT 1
- Nlp Training for NER HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nlp4j-old.