commit | 370dcb5750c42fa2191cf9d2ce8dbc6b2051c370 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sat Jul 30 18:41:10 2022 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sat Jul 30 18:41:10 2022 +0200 |
tree | 7ec3912816a1ffbc188f3e05421c981055a9b479 | |
parent | 2c404e5640bae556930c897d620ee21194012d4c [diff] |
Allow passing max number of collocates Change-Id: Ida073dde970549974adff899891ae1f4b968b83a
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