Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 841 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 841 Bytes

🧠 Link Tagger

Assistant which helps tag links. Supports russian and english languages.

What's works now

  • Telegram-bot recieves message
  • Extract tags from text and links
  • Return sorted and uniq tag as anwer by bot

Usage examples

Telegram Bot

About code

Code tested and work on Python 3.9 with requirements in venv. Also yon need to download NLTK packages.

NLTK Packages

  • nltk.download('averaged_perceptron_tagger') - for english words tokenize
  • nltk.download('averaged_perceptron_tagger_ru') - for russian words tokenize
  • nltk.download('crubadan') - for languade detection
  • nltk.download('punkt') - for word tokenize
  • nltk.download('omw-1.4') - for word lemma (multilang)
  • nltk.download('wordnet') - basic lemma