kpu / kenlm

KenLM: Faster and Smaller Language Model Queries
http://kheafield.com/code/kenlm/
Other
2.5k stars 513 forks source link

Rust bindings for kenlm? #325

Closed poneill closed 3 years ago

poneill commented 3 years ago

Hi,

I'm looking into writing rust bindings for kenlm. I'm posting this issue to check to see:

a) if there's been any previous work done on this topic b) if the bindings would be a welcome addition to the main kenlm repo c) (if no to a and yes to b) if anyone else with expertise in rust is interested in this project and would like to collaborate.

Cheers, Pat.

kpu commented 3 years ago

a) Not to my knowledge. The most likely people would be Mozilla but deepspeech binds from python if I understand correctly.
b) Sure c) I have no Rust experience

poneill commented 3 years ago

Thanks, I'll PR when I have something working.

poneill commented 3 years ago

To follow up, rust/c++ interop doesn't seem to be at a point where it makes sense for my use case, so I'll have to put this aside for now.