#bindings #nlp #python #kwargs #spa-cy #spacy

yanked rusty

Rust bindings for the spaCy Python NLP package

0.3.0 Jun 25, 2020
0.2.0 Jun 25, 2020
0.1.0 May 21, 2020
0.0.2 Nov 21, 2014

#365 in #nlp

Custom license

8KB
169 lines

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();

Dependencies

~1.9–3.5MB
~72K SLoC