Provide all missing cos_sim variants

Change-Id: I86bc78e7e3fc031a94568d4f5e7f0a2f91a59dac
3 files changed
tree: b6fe88434b65e94070e39b828de4d0501dd4c390
  1. .github/
  2. src/
  3. test/
  4. .gitignore
  5. Artifacts.toml
  6. LICENSE
  7. Manifest.toml
  8. Project.toml
  9. README.md
README.md

DerekoVecs.jl

Minimal Julia package to load and use dereko2vec language models.

Currently, only paradigmatic analysis is supported.

Installation

pkg> add "https://korap.ids-mannheim.de/gerrit/ids-kl/DerekoVecs.jl"

Example Usage

using DerekoVecs

model = load("model.vecs")

knn(model, "interessant", 10)

cos_sim(model, "gut", "besser")


model2 = load("model2.vecs")
cos_sim(model, model2, "also")

License

This packages is licensed under Apache 2.0