reynoldsnlp / udar

UDAR Does Accented Russian: A finite-state morphological analyzer of Russian that handles stressed wordforms.
GNU General Public License v3.0
26 stars 1 forks source link

Which hfst-dev package has to be used? #52

Closed Vuizur closed 1 year ago

Vuizur commented 2 years ago

Hi,

I am really interested in trying this program and am currently trying to install it.

I tried following the instructions for Debian/Ubuntu, but I got the error that "hfst-dev" package doesn't exist in the package repository. Is the required library maybe libhfst-dev?

It would also maybe be nice if the required Python version would be specified in the Readme, because if I understood it correctly hfst doesn't work with newer Pythons.

Have a great day!

reynoldsnlp commented 2 years ago

@Vuizur I just updated the instructions on the readme to reflect changes in the HFST packaging, so if you are using Ubuntu you can apt-get install cg3 hfst python3-hfst and it should work. If it works for you, feel free to close this issue.

Vuizur commented 1 year ago

Thank you very much for the help! It runs now. (Sorry for the late answer.)

I installed it on WSL with Ubuntu 20.04 and Python 3.6 using pyenv (and installed everything using poetry). To get it to run I had to install a weird stanza beta version from TestPypi though because the current version crashed on my end. (Like detailed here).