commit | 6327bd0d80a902c502d0851a607238744f36613f | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Jul 31 10:13:46 2022 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Jul 31 10:26:29 2022 +0200 |
tree | 7b1cff68486bb99e89f56e076fcea6d4a0300031 | |
parent | 370dcb5750c42fa2191cf9d2ce8dbc6b2051c370 [diff] |
Fix stop criterion for getting collocates Change-Id: I3e934a805f7ac91a47f7122c8b802d1397b2aec0
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) c = get_collocates(model)
This package is licensed under the Apache License 2.0