rusty

Crates.iorusty
lib.rsrusty
version0.3.0
sourcesrc
created_at2014-11-21 10:30:21.075692
updated_at2020-06-25 14:25:03.804398
descriptionRust bindings for the spaCy Python NLP package.
homepagehttps://www.appliedpoetics.org
repositoryhttps://github.com/dluman/rusTy
max_upload_size
id281
size14,708
Douglas Luman (dluman)

documentation

README

Build status

rusTy

Rust bindings for the spaCy Python NLP library. It's a work in progress. I'm at that part in another project where it's just easier to take a detour and write some bindings.

Example

The following performs sentence similarity.

let spacy = spacy::Module::init();
spacy.load("en_core_web_lg");
let pangram1 = spacy::nlp("A wizard’s job is to vex chumps quickly in fog.");
let pangram2 = spacy::nlp("Amazingly few discotheques provide jukeboxes.");
pangram1
  .call("similarity")
  .args(pangram2)
  .kwargs("")
  .invoke();
Commit count: 24

cargo fmt