I did the same but not in an app.
On a cli application. And I added a web interface too.
Work's pretty well. I use it every day. It's only in french.
https://git.ache.one/dfr/about/
The web version:
(My use case was that I need pronunciation of the words)