Improve README concerning coverage of syntagmatic analysis

Change-Id: I9460cf79ebf83a394c509c909af57659b07c15d4
1 file changed
tree: e677c86f1f02b6580300a5dc4b02e8382f5abfe3
  1. .github/
  2. src/
  3. test/
  4. .gitignore
  5. .gitlab-ci.yml
  6. Artifacts.toml
  7. LICENSE
  8. Manifest.toml
  9. Project.toml
  10. README.md
README.md

DerekoVecs.jl

Julia package to load and use dereko2vec language models.

Currently, only paradigmatic analysis and count-based collocate queries are supported.

Installation

From the command line:

julia -e 'using Pkg; Pkg.add(url = "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"

Note

In order to query count-based collocates, using the get_collocates() function, collocatordb needs to be installed.

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")

kld(model2, model)

c = get_collocates(model)

License

This package is licensed under the Apache License 2.0