DerekoVecs.jl

Minimal Julia package to load and use dereko2vec language models.

Currently, only paradigmatic analysis is supported.

Installation

From the command line:

julia -e 'using Pkg; Pkg.add("https://korap.ids-mannheim.de/gerrit/ids-kl/DerekoVecs.jl")'

From within Julia:

pkg> add "https://korap.ids-mannheim.de/gerrit/ids-kl/DerekoVecs.jl"

Example Usage

using DerekoVecs

model = load("model.vecs")

knn(model, "interessant", 10)

cos_sim(model, "gut", "besser")


model2 = load("model2.vecs")
cos_sim(model, model2, "also")

License

This packages is licensed under Apache 2.0