enlavin / zhongwen-bot

Telegram bot to help me learn Chinese grammar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Telegram bot to help me learn Chinese grammar

License:MIT License


Languages

Language:Python 83.6%Language:Dockerfile 16.4%