Closed Taarnborg closed 6 years ago
Thank you for pointing this out. 'make cstlemma' is incorrect, because 'cstlemma' is not defined as a target in the Makefile. Use 'make' or 'make all'. I have corrected README.md accordingly.
Thanks Bart. What about all the warnings? Are they significant, meaning that the program won't work?
The program will work. The warnings are about reordering of initialisation, and do no harm. If you change the CC line to
CC=g++ $(INCLUDEDIR) -O3 -Wall -pedantic -DNDEBUG -Wno-reorder
those warnings will be gone.
Hi Bart.
Following your bash file, it seems to me I make it through step 1-3. After that, should I still be in cstlemma when running make clean? Because that's what I did, and unfortunately I still get the error that cstlemma is not a recognized command.
P.S I have zero knowledge about C, so I might be missing something very obvious
'make' should be called while in the folder that contains 'Makefile'. So that is the 'src' folder. Near the top of that Makefile, it says 'BIN=../' . That means that the binary output will be in the folder above 'src', which is the root folder of the cstlemma project, called 'cstlemma'. So while still situated in the 'src' folder, you should be able to run cstlemma by writing '../cstlemma'. If you can sudo, you could move cstlemma to /usr/local/bin. All users can call cstlemma, if you do that, without having to add a path.
Hi Bart,
It looks like CST have just released the resources for the lemmatizer on a GPL license, just as you said they might do when we met in April.
In light of that, I decided to try and install the lemmatizer but ran in to some problems. Here is a log of what I did: