Comments (3)
There's a new voikko
module on PyPI: https://pypi.org/project/voikko/#description
Maybe it would help with the install problems?
from annif.
There is an initial implementation on the branch issue37-voikko.
However, there are (at least) two outstanding issues:
- The Travis build fails because using the
voikko
backend would require installing thelibvoikko
library from a deb package. Currently we are using the container based infrastructure, which limits package installs to whitelisted packages, and libvoikko is not on the whitelist. More generally, do we want to add a feature that requires installing a system library? At least it shouldn't be a hard dependency - basic functionality and unit tests should work even without installing libvoikko. - There are weird
ValueError: ctypes objects containing pointers cannot be pickled
in unit tests. I don't understand what triggers these, as the voikko analyzer shouldn't be involved in what is being pickled, it just inputs and outputs normal Python strings.
from annif.
Travis has deprecated their container environment and we have switched to the Xenial based environment where installing any deb package is possible. So it should be possible to run the tests with Voikko on Travis. However, the voikko feature should be made optional so that native libraries are not required for a basic install of Annif. (See also #229 for similar thoughts about fastText)
The pickle issue has been sorted out on the issue37-voikko
branch.
from annif.
Related Issues (20)
- REST API root resource with version information HOT 1
- Support batch suggest in Omikuji backend HOT 1
- Support batch suggest in STWFSA backend HOT 2
- Support batch suggest in SVC backend
- Memory leak in NN ensemble backend
- Refactor: use sparse matrices instead of ListSuggestionResult and VectorSuggestionResult
- Switch default git branch to main HOT 5
- CLI command completions HOT 2
- CLI command `list-projects` fields HOT 1
- Better support for suggestion batches in NN ensemble
- Use multiprocessing for hyperopt operation HOT 1
- Lots of pytest warnings / upgrade to Connexion 3 HOT 4
- Use Python type hints HOT 3
- Training fails (unknown subject label error + python errors) HOT 2
- Pin Flask and rdflib major/minor versions HOT 6
- Connexion error on posting wrong content type to suggest method HOT 1
- Make stwfsapy an optional dependency
- Python 3.11 support HOT 2
- Use Terminator in Optuna 3.2.0
- Imports isolation in tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annif.