An open API service indexing awesome lists of open source software.

https://github.com/imakebotsforyou/japanese_deconjugator

An extremely basic japanese deconjugator made in python
https://github.com/imakebotsforyou/japanese_deconjugator

Last synced: 8 months ago
JSON representation

An extremely basic japanese deconjugator made in python

Awesome Lists containing this project

README

          

# Output looks like this

First thing shown is the tree that the program goes through on its way to deconjugate the word.
Then, the last remaining branch after the pruning (by checking leaves against jisho)
image

## Example 1
食べさせたくなかった

--食べさせたくない [形容詞]

----食べさせたい [形容詞]

----食べさせる [たい]

------食べる [させる]

------食べる [させる]

------食ぶ [る]

食ぶ --[る]--> 食べる --[させる]--> 食べさせる --[たい]--> 食べさせたい --[形容詞]--> 食べさせたくない --[形容詞]--> 食べさせたくなかった

食べる --[させる]--> 食べさせる --[たい]--> 食べさせたい --[形容詞]--> 食べさせたくない --[形容詞]--> 食べさせたくなかった

## Example 2
いきたい

--いく [希望]

--いきる [希望]

いく --[希望]--> いきたい

いきる --[希望]--> いきたい