commit | 48c4d8ce2d40d6ee6c33db14b60d54f34adeee37 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Jul 28 16:03:59 2022 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Jul 28 16:05:43 2022 +0200 |
tree | 2140d002b0b937253c29285da1851706d2dcc419 | |
parent | f777605db29d60f03349c86b4ab8ac73994615da [diff] |
Fix model loading Change-Id: I6c38d1e7983d3fc4adcf51255ce50db0ffc5f3db
Minimal Julia package to load and use dereko2vec language models.
Currently, only paradigmatic analysis is supported.
julia -e 'using Pkg; Pkg.add(url = "https://korap.ids-mannheim.de/gerrit/ids-kl/DerekoVecs.jl")'
pkg> add "https://korap.ids-mannheim.de/gerrit/ids-kl/DerekoVecs.jl"
using DerekoVecs model = load("model.vecs") knn(model, "interessant", 10) cos_sim(model, "gut", "besser") model2 = load("model2.vecs") cos_sim(model, model2, "also") kld(model2, model)
This package is licensed under the Apache License 2.0