dynomake / libretranslate-java

Java api for translating texts
MIT License
41 stars 7 forks source link

provide detected language information #10

Closed chrisb09 closed 2 months ago

chrisb09 commented 8 months ago

This relatively small change adds an alternative translate function, translateDetect, that returns more information about the detected language.

While testing this, I also found out that clojars now requires a license to be defined in the pom, which is why I've added the corresponding entries to the gradle.build files.

Finally, to reflect the two miniscule changes I bumped the version to 1.0.7 from 1.0.5

I've tested the changes, it compiles and runs as one would expect given the trivial nature of the changes.