/zhongwen-bot

Telegram bot to help me learn Chinese grammar

Primary LanguagePythonMIT LicenseMIT

zhongwen-bot

Telegram bot to help me learn Chinese grammar.

This bot is a thin layer on top of spacy to tokenize sentences and show grammar relationships. Just send a sentence and you will get back:

  • a tokenization of the sentence using the zh_core_web_lg model.
  • the meaning of the individual tokens (using CEDICT).
  • a pretty graph with the grammar relationships between the tokens (using the displacy tool shipped with spacy).

image

image

image