kpu / kenlm

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

PyPI - Release kenlm library on PyPI #363

Open patrickvonplaten opened 2 years ago

patrickvonplaten commented 2 years ago

Hello,

Thanks a lot for this amazing library. It seems like more and more speech libraries are moving to Python, e.g.:

kenlm is still the standard library for efficient ngram decoding with many of the above libraries have dependencies on it. It's great to have Python bindings, but it would be even nicer if the library could be hosted on https://pypi.org/ to have a clean kenlm dependency on other pypi packages.

@kpu - is there a possibility that this library can be published on pypi?

kpu commented 2 years ago

Yes, I mainly need to learn how to do that.

patrickvonplaten commented 2 years ago

Awesome! Happy to help!

Narsil commented 2 years ago

https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives

This is my go-to to deploy to pypi !

sam-writer commented 2 years ago

We at Writer have some libraries on PyPi and are happy to help.

@kpu It looks like you own the kenlm name on PyPi and pushed something up in 2017. Do you still have access to that account?

f4hy commented 2 years ago

@kpu Any update on this? The instructions given above should be enough. This would be a great help to be able to use kenlm in standard python pipelines.

kpu commented 1 year ago

https://pypi.org/project/kenlm/0.1/

patrickvonplaten commented 1 year ago

Wuhuuu - this is great! Thanks a lot for the effort @kpu !