ku-nlp / JumanDIC-py

A Python API for JumanDIC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Python API for JumanDIC.

License:MIT License


Languages

Language:Python 100.0%