Questions and answers related to FreeLing installation
I installed the Windows version of FreeLing 4.1. When I try the usage example shown at https://talp-upc.gitbook.io/freeling-4-1-user-manual/analyzer
(with mytext.txt and myconfig.cfg also on that page), I get an output that is quite different than the expected results that the example shows. My output is:
El el DA0MS0 1
gato gato NCMS000 1
come comer VMIP3S0 0.978902 comer VMM02S0 0.021098
pescado pescado NCMS000 0.822581 pescar VMP00SM 0.177419
. . Fp 1
After installing FreeLing 4.1 (under Windows 10), I run analyser, and the following files are reported missing: MSVCP140D.dll, VCRUNTIME140D.dll and ucrtbased.dll. These are Microsoft files, which are not available unless Visual Studio is installed. I believe that the "d" in the filenames stands for "debug", and it would seem that this binary has been made in debug mode. Was there a reason to use debug mode rather than "release" mode? In release mode, the files needed would be MSVCP140.dll etc, which can be downloaded from MS.
I've been trying to compile FreeLing from git master branch using OpenBSD. It uses clang by default and the make process runs fine until it chokes with part-dep1.cc. It would be nice if I could use FreeLing on my laptop so I can work on my project with the help of my tutor.
I am using boost-1.66.0p4, and clang++ --version outputs
OpenBSD clang version 7.0.1 (tags/RELEASE_701/final) (based on LLVM 7.0.1)
I'm trying to use Freeling 4.1 in Python (in Windows 10), but I'm having trouble trying to install it from sources. I'm following the installation manual and, with lots of effort (I'm not used to do these things at all), I managed to do up to the cmake command.
However, when I try the nmake install I'm having problems:
I'm using Freeling Python API since 3 months now, mainly on Linux, and for other users I needed to use it on Windows.
So I compiled Freeling 4.1 as described in the doc, using Microsoft Visual Studio 2015 (pre-compiled boost as mentioned in the doc are not available for Microsoft Visual Studio 2017) and it compiled without error, running the following CMake command :
While installing from here: https://talp-upc.gitbooks.io/freeling-4-1-user-manual/content/installat…
hi, where I try to run make command in directory ../Freeling/APIs/Python3 I get this error
freeling_pythonAPI.cxx:3283:11: fatal error: freeling.h: No such file or directory
Makefile:11: recipe for target '_freeling.so' failed
make: *** [_freeling.so] Error 1
I'm building the Java API in Windows
And I've done the steps
1. Install java
2. Download and install Swig (http://www.swig.org/)
3. Run swig with freeling_javaAPI.i to generate the API
SWIG will generate an edu / upc / freeling directory with the Java API
for all the modules, and a file freeling_javaAPI.cxx with the JNI side
of the API.
4. Compile the Java code in edu / upc / freeling and create a freeling.jar file
with the results.