From 0006831a3ce728fcbe7669b1036c8897f467fffe Mon Sep 17 00:00:00 2001 From: a-rios Date: Sun, 19 Nov 2017 18:42:45 +0100 Subject: [PATCH 1/3] Update Readme.md --- Readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index 5b2d5abe..13cca767 100644 --- a/Readme.md +++ b/Readme.md @@ -10,8 +10,8 @@ Installation (make sure to install from sources, headers are needed), see: http compile Freeling analyzer with crf output format for wapiti: ``` -export $FREELING_INSTALLATION_DIR= path to you installation of FreeLing -export $SQUOIA_DIR= path to this package +export FREELING_INSTALLATION_DIR= path to you installation of FreeLing +export SQUOIA_DIR= path to this package g++ -c -o output_crf.o output_crf.cc -I$FREELING_INSTALLATION_DIR/include -I$SQUOIA_DIR/FreeLingModules/config_squoia g++ -c -o analyzer_client.o analyzer_client.cc -I$FREELING_INSTALLATION_DIR/include -I$SQUOIA_DIR/FreeLingModules/config_squoia g++ -std=gnu++11 -c -o server_squoia.o server_squoia.cc -I$FREELING_INSTALLATION_DIR/include -I$SQUOIA_DIR/FreeLingModules/config_squoia @@ -27,7 +27,7 @@ g++ -std=gnu++11 -o nec nec.cc -I$FREELING_INSTALLATION_DIR/include -I$SQUOIA_DI analyzer_client: ``` -g++ -O3 -Wall -o analyzer_client analyzer_client.o -L$FREELING_INSTALLATION_DIR/local/lib -lfreeling +g++ -O3 -Wall -o analyzer_client analyzer_client.o -L$FREELING_INSTALLATION_DIR/lib -lfreeling export FREELINGSHARE=$FREELING_INSTALLATION_DIR/share/freeling ``` From 0b26245de384f76bf160e133a372b76c21287af8 Mon Sep 17 00:00:00 2001 From: a-rios Date: Mon, 20 Nov 2017 12:35:38 +0100 Subject: [PATCH 2/3] Update Readme.md --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 13cca767..2b7f9131 100644 --- a/Readme.md +++ b/Readme.md @@ -67,7 +67,7 @@ set maltPath in translate_example.cfg to your installation of maltparser compile server-client modules ($MALTPARSER_DIR= path to your maltparser installtion): ``` -cd $SQUOIA_DIR/maltparser_tools/src +cd $SQUOIA_DIR/MT_systems/maltparser_tools/src javac -cp $MALTPARSER_DIR/maltparser-1.8/maltparser-1.8.jar MPClient.java javac -cp $MALTPARSER_DIR/maltparser-1.8/maltparser-1.8.jar MaltParserServer.java ``` From d442a07f0aa6ccff50d8d1a22c9efa87b332505e Mon Sep 17 00:00:00 2001 From: a-rios Date: Wed, 22 Nov 2017 15:53:55 +0100 Subject: [PATCH 3/3] Update Readme.md --- Readme.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Readme.md b/Readme.md index 2b7f9131..928b5dc0 100644 --- a/Readme.md +++ b/Readme.md @@ -75,6 +75,20 @@ javac -cp $MALTPARSER_DIR/maltparser-1.8/maltparser-1.8.jar MaltParserServer.jav move binaries to ../bin: `mv MaltParserServer.class MPClient.class ../bin/` +## lttoolbox +http://wiki.apertium.org/wiki/Lttoolbox + +If you're on Linux, lttoolbox may be part of your distribution, e.g. Debian, and can be installed through your package managment system (make sure to install the development package as well, something like lttoolbox-dev or lttoolbox-devel). +To compile the lexical transfer module in squoia: +``` +cd $SQUOIA_DIR/MT_systems/matxin-lex +make +``` +To compile the bilingual dictionary, do (only necessary if you made changes to es-quz.dix): +``` +cd $SQUOIA_DIR/MT_systems/squoia/esqu/lexica +lt-comp lr es-quz.dix es-quz.bin +``` ## libsvm https://www.csie.ntu.edu.tw/~cjlin/libsvm