Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User guide or usage examples #2

Open
gabriel-vasile opened this issue May 7, 2019 · 1 comment
Open

User guide or usage examples #2

gabriel-vasile opened this issue May 7, 2019 · 1 comment
Assignees

Comments

@gabriel-vasile
Copy link

Hi, can you please help me run the project.
I'm trying to extract entities from some romanian language text.
What I've tried is:
lein run -- -t "Mihai Daniel citeste." -i src/nlptools/model/entity.clj tool.entity, but this fails with null pointer exception.

Thank you!

@dpom dpom self-assigned this May 14, 2019
@dpom
Copy link
Owner

dpom commented May 14, 2019

Sorry for my delayed response.

To extract entities from a text nlptools needs to be trained. E.g:

sh lein run - -i test/category.train -o category.bin -l ro -t "category" model.entity

Only after that you can extract entities from text using the model file:

sh lein run - -t "Vreau un televizor" -i category.bin tool.entity

I'm about to move the project on gitlab, so this repository will not be updated anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants