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

NLTKPosTagger is broken #51

Open
burki opened this issue Jun 27, 2016 · 0 comments
Open

NLTKPosTagger is broken #51

burki opened this issue Jun 27, 2016 · 0 comments

Comments

@burki
Copy link

burki commented Jun 27, 2016

python -m strephit commons pos_tag -t nltk samples/corpus.jsonlines bio en

breaks with an error

TypeError: tag_many() takes at most 3 arguments (5 given)

since the signature of NLTKPosTagger

 def tag_many(self, documents, tagset=None, **kwargs):

doesn't match with the one of TTPosTagger with batch-support

def tag_many(self, items, document_key, pos_tag_key, batch_size=10000, **kwargs):
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

1 participant