Giter VIP home page Giter VIP logo

Comments (3)

osma avatar osma commented on May 28, 2024

There's a new voikko module on PyPI: https://pypi.org/project/voikko/#description
Maybe it would help with the install problems?

from annif.

osma avatar osma commented on May 28, 2024

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 the libvoikko 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.

osma avatar osma commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.