londogard-nlp-toolkit contains all "general" NLP utilties for Kotlin in a small package keeping dependencies low. Tools such as the summarizer will still be kept separate.
Word Embedding functionality exists under com.londogard.nlp.embeddings
! :)
This library should continue to be functional though as the core logic is completed if you so wish.
A easy-to-use library for Word Embeddings for JVM (written in Kotlin)
Jitpack (the easiest)
Add the following to your
build.gradle
. $version
should be equal to the version supplied by tag above.
repositories { maven { url "https://jitpack.io" } } dependencies { implementation 'com.londogard:smile-nlp-kt:$version' }
GitHub Packages
Add the following to your
build.gradle
. $version
should be equal to the version supplied by tag above.
The part with logging into github repository is how I understand that you need to login. If you know a better way please ping me in an issue.
repositories { maven { url = uri("https://maven.pkg.github.com/londogard/smile-nlp-kt") credentials { username = project.findProperty("gpr.user") ?: System.getenv("GH_USERNAME") password = project.findProperty("gpr.key") ?: System.getenv("GH_TOKEN") } } } dependencies { implementation "com.londogard:smile-nlp-kt:$version" }
TODO()
- Add usage section
- Add SIF Embeddings
- Add test for TfIdf Embeddings
- Add some kind of documentation