Konoha supports Python 3.5 or newer.
We recommend to install via pip:
$ pip install konoha[all]
If you want to install Konoha with AllenNLP integration, please run:
$ pip install konoha[all_with_integrations]
You can also install Konoha with specific tokenizer, please run:
$ pip install konoha[janome,kytea,mecab,sentencepiece,sudachi,nagisa] # specify one or more of them
If you run pip install konoha, Konoha will be installed only with sentence splitter.
You can also install the development version of Konoha from the main branch of Git repository:
$ pip install git+https://github.com/himkt/konoha.git