Giter Site home page Giter Site logo

Comments (4)

reynoldsnlp avatar reynoldsnlp commented on June 16, 2024

It looks like libhfst_src/back-ends/foma/foma.c is missing the following lines that are present in libhfst_src/back-ends/foma/cpp-version/foma.cc:

char disclaimer1[] = "Foma, version ";
char disclaimer2[] = "\nCopyright © 2008-2015 Mans Hulden\nThis is free software; see the source code for copying conditions.\nThere is ABSOLUTELY NO WARRANTY; for details, type \"help license\"\n\nType \"help\" to list all commands available.\nType \"help <topic>\" or help \"<operator>\" for further help.\n\n";

#ifndef SVN_REV
#define SVN_REV 0
#endif

from hfst-python.

reynoldsnlp avatar reynoldsnlp commented on June 16, 2024

Looks like there are efforts afoot to decouple foma anyway: hfst/hfst#485
@TinoDidriksen is suggesting using a Debian package there. I'm not sure what he has in mind for MacOS and Windows.

from hfst-python.

TinoDidriksen avatar TinoDidriksen commented on June 16, 2024

foma.c is not needed for the library. Only the files listed in https://github.com/hfst/hfst/blob/master/back-ends/foma/Makefile.am#L30 are.

I guess nobody builds HFST with GENERATE_FOMA_WRAPPER, or this should have errored out.

from hfst-python.

reynoldsnlp avatar reynoldsnlp commented on June 16, 2024

Ah, I should have been more careful about checking which files were listed in the old setup.py instead of just globbing everything.

from hfst-python.

Related Issues (16)

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.