Open burki opened 8 years ago
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):
breaks with an error
since the signature of NLTKPosTagger
doesn't match with the one of TTPosTagger with batch-support