Here we collected some online and offline models for text tagging.
https://colab.research.google.com/drive/1xlevLnqxd_wCtXunGgf_pSrdkz85jt49?usp=sharing
Here're some of the project's best features:
- Online model: Rake Based Model with 10-20 it/sec
- Offline models: Bart based model with summarisation or attention. 1-5 it/sec
1. Installation
pip install text-tagging-model
2. import
from text_tagging_model.models.rake_based_model import TagsExtractor
3. Init tagger
tagger = TagsExtractor()
4. Get tags
tagger.extract(some_text)