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 == "名詞")
- Python: 3.8+
- TinyDB
pip install git+https://github.com/ku-nlp/JumanDIC-py.git
MIT