kongming

Collect arrows from parsing results.


Keywords
kongming
License
MIT
Install
pip install kongming==0.1.2

Documentation

kongming

Documentation Status

Collect arrows from parsing results.

Installation

$ pip install kongming

Usage

from kongming.main import Komgming

stopwords = ["。"]
kongming = Kongming(stopwords)
arrows = kongming.collect("今日は良い天気だ。")
print(arrows)  # => [{'modifier': '今日', 'function': 'は', 'head': '天気'},
                     {'modifier': '良い', 'function': '', 'head': '天気'}]

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.