commit | 63acc2ef9eef852ac424dc85b98f0070f0e4e4fe | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sat Jul 30 17:21:17 2022 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sat Jul 30 17:21:17 2022 +0200 |
tree | 1731a596ec2a5f29690cba2397a6aeee634f8c60 | |
parent | 3986fad6a1bb9befeba5effa94eea6b53eaa6684 [diff] |
Return collocates as DataFrame Change-Id: I6cde1b08782d9e7bf3bc6ad4d170cdb4d25b404f
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