I wrote a Python wrapper for querying monolingual Japanese Dictionaries

Ever wanted to query 40 monolingual Japanese dictionaries at the same time? Well now you can anyways!

The [Sakura Paris Python API](https://github.com/shur1m/sakuraParisPythonAPI) is a PIP package that allows you to query multiple dictionaries from the [広辞苑無料検索](https://sakura-paris.org/dict/) at the same time. You can also query over the 40 entry limit that the original API sets (although it might get a little slow if you query too many). I wrote this a quick project to get used to writing Python packages. It’s not that complicated, but I just wanted to share it in case anyone finds it useful.

Also, just a note, but it doesn’t work with the NHK accent dictionary and 学研古語辞典 (some dictionary for old Japanese). The API just gives an empty response for those. I might see if I can web scrape those using bs4 if I have time.

Feel free to play around with it, the package is uploaded to PIP. Also feel free to raise issues if you find some kind of bug.

tl;dr I made a simple wrapper for monolingual dictionary API with some utility functions. I hope someone finds it useful.

(Wasnt sure what to tag this post as, I hope resources is fine)

Leave a Reply