/JumanDIC-py

A Python API for JumanDIC.

Primary LanguagePythonMIT LicenseMIT

JumanDIC-py

Test Code style - black

A Python API for JumanDIC.

# Create a JumanDIC object.
from jumandic import JumanDIC
d = JumanDIC()

# Iterate over entries
for entry in d:
    ...

# Search entries
from tinydb import Query
q = Query()
nouns = d.search(q.pos == "名詞")

Requirements

Installation

pip install git+https://github.com/ku-nlp/JumanDIC-py.git

License

MIT