commit | dee7cb9d2925a156afc7c83807f7cc283d67a311 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sat Jul 30 17:36:21 2022 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sat Jul 30 17:36:21 2022 +0200 |
tree | 4f4d476d2c240f95580a40b7495342462c26120d | |
parent | 63acc2ef9eef852ac424dc85b98f0070f0e4e4fe [diff] |
Improve hack for collocates list end Change-Id: Ia869fdeb7856a0c330620d3bb36987380484cb67
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