Comments (4)
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.
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.
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.
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)
- double free or corruption on manylinux build HOT 2
- Keep swig-generated `.py` and `.cpp` in repo; remove swig dependency from builds
- Remove python 2 code from `src/hfst/**/*.py`
- `bump_version.sh` does not change `__version__` in `src/hfst/__init__.py`
- linux build fails `test_streams.py` HOT 2
- error: unknown type name '_Bool' HOT 3
- `left_replace_up` defined twice
- pip install fails with lex.yy.c(1840): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
- Move tests to use pytest HOT 1
- Make bump_version check github for latest HFST version
- C++ headers not found HOT 8
- Windows build is failing on tr1/unordered_map HOT 2
- Lots of `void*` errors on `foma/cpp-version/lexcread.cc` HOT 5
- Add script to test linux config locally HOT 1
- on ubuntu: "ld: cannot find -lhfst" 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 hfst-python.