Replies: 1 comment
-
Hi! Sorry for very late answer. I guess compiling libvoikko from source would be the easiest way to solve this. It has no mandatory dependencies for Finnish (use --disable-hfst when compiling). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Apologies in advance if this question may seem irrelevant to the Voikko library!
I am trying to code some spell checking for Finnish and Swedish languages as part of my research.
I came along this library for Finnish language (as an alternative for Enchant).
In my own local ubuntu 22 laptop (with sudo privilege), I could simply install all dependencies by doing:
$ sudo apt install enchant-2 libenchant-2-* libaspell* voikko-fi aspell* -y
Then in my conda virtual environment, I do the following:
And both work successfully in my local machine:
![bild](https://private-user-images.githubusercontent.com/11946010/308567061-56bd3672-a3e9-4eb0-bd5c-740d7884e280.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4ODU1OTEsIm5iZiI6MTczODg4NTI5MSwicGF0aCI6Ii8xMTk0NjAxMC8zMDg1NjcwNjEtNTZiZDM2NzItYTNlOS00ZWIwLWJkNWMtNzQwZDc4ODRlMjgwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDIzNDEzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE1ZGFjMzUwYjYxZmFjOWJmMWJhN2YxODA0NDQ4M2E4NmIwMGYxMzE1MDNiMWQzMGU3ZTg2MDk0OGRhNTc1ZWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-a5holVJOjeZ727w9cxS9ApaZwskotT6L9bHNJOCkXk)
Now doing the same procedure for the CSC Puhti supercomputer in Finland (to leverage higher computational resources), I do not have the sudo privilege to install dependencies in Red Hat Enterprise Linux release 8.6 (Ootpa) and I end up getting error for both Voikko and enchant:
Searching for available packages (Aspell, enchant, voikko and libenchant) in RedHat Puhti leads to:
Has anybody else faced the same issue while using CSC supercomputer, e.g., Puhti in this case?
Or is there a better and easier solution to handle such issues when we do not have sudo privilege?
Cheers,
Beta Was this translation helpful? Give feedback.
All reactions