dpalmasan / TRUNAJOD2.0

An easy-to-use library to extract indices from texts.
https://trunajod20.readthedocs.io/en/latest/
MIT License
29 stars 7 forks source link

Improve `is_word` function #62

Closed dpalmasan closed 3 years ago

dpalmasan commented 3 years ago

Currently is_word function receives as an argument a pos_tag:

https://github.com/dpalmasan/TRUNAJOD2.0/blob/master/src/TRUNAJOD/utils.py#L241

Would be better for usability purposes that it receives a spacy Token instead.

Acceptance criteria

dpalmasan commented 3 years ago

Fixed on #65