diff --git a/tools/concraft/README.md b/tools/concraft/README.md index 01fe7b6..61d3f8c 100644 --- a/tools/concraft/README.md +++ b/tools/concraft/README.md @@ -3,36 +3,36 @@ The instructions below apply to modern systems with the following caveats: * Before running stack install it might be necessary to execute stack setup in order to install the correct version of ghc. * Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects/libpltagger/wiki/InstallOnUbuntu11 with the following exceptions: - * The package libboost-all-dev can be installed in place of libboost1.42-all-dev as the latter might be unavailable. + * The package libboost-all-dev can be installed in place of libboost1.42-all-dev as the latter might be unavailable. - * It might also be necessary to install ncurses using + * It might also be necessary to install ncurses using - sudo apt-get install libncurses5-dev + sudo apt-get install libncurses5-dev - * Instead of using adding Bartosz Zaborowski's repository one can download Morfeusz directly from - ppa.launchpad.net/bartosz-zaborowski/nlp/ubuntu/pool/main/m/morfeusz-sgjp/morfeusz-sgjp_0.81-1~precise_amd64.deb + * Instead of using adding Bartosz Zaborowski's repository one can download Morfeusz directly from + ppa.launchpad.net/bartosz-zaborowski/nlp/ubuntu/pool/main/m/morfeusz-sgjp/morfeusz-sgjp_0.81-1~precise_amd64.deb - * Before installing SFST in lines 445 and 449 of maca/third_party/SFST-1.2/SFST/src/fst.C the identifier `it` must be replaced with `iter` (or any other non-conflicting identifier). + * Before installing SFST in lines 445 and 449 of maca/third_party/SFST-1.2/SFST/src/fst.C the identifier `it` must be replaced with `iter` (or any other non-conflicting identifier). - * Additionally with newer versions of boost the following changes become necessary: - - before installing Corpus 2 - + in line 25 of corpus2/learn_to_guess/main.cpp the type `ifstream` must be replaced with `std::ifstream` + * Additionally with newer versions of boost the following changes become necessary: + - before installing Corpus 2 + + in line 25 of corpus2/learn_to_guess/main.cpp the type `ifstream` must be replaced with `std::ifstream` - - before installing Toki - + in lines 223-224 of toki/tests/compare.cpp the call - `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` - must be replaced with - `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` + - before installing Toki + + in lines 223-224 of toki/tests/compare.cpp the call + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` + must be replaced with + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` - + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` + + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` - - before installing Maca - + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` + - before installing Maca + + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` - + in lines 207-208 of maca/tests/compareconv.cpp the call - `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` - must be replaced with - `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` + + in lines 207-208 of maca/tests/compareconv.cpp the call + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` + must be replaced with + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` After Concraft is successfully installed its executable can be found in ~/.local/bin For an example usage of Concraft's server-client mode (in OCaml) see concraft_test.ml diff --git a/tools/maca/README.md b/tools/maca/README.md index f8c06ac..dcb6a2b 100644 --- a/tools/maca/README.md +++ b/tools/maca/README.md @@ -4,7 +4,7 @@ Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects * It might also be necessary to install ncurses using - sudo apt-get install libncurses5-dev + sudo apt-get install libncurses5-dev * Instead of using adding Bartosz Zaborowski's repository one can download Morfeusz directly from ppa.launchpad.net/bartosz-zaborowski/nlp/ubuntu/pool/main/m/morfeusz-sgjp/morfeusz-sgjp_0.81-1~precise_amd64.deb @@ -12,24 +12,24 @@ Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects * Before installing SFST in lines 445 and 449 of maca/third_party/SFST-1.2/SFST/src/fst.C the identifier `it` must be replaced with `iter` (or any other non-conflicting identifier). * Additionally with newer versions of boost the following changes become necessary: - - before installing Corpus 2 - + in line 25 of corpus2/learn_to_guess/main.cpp the type `ifstream` must be replaced with `std::ifstream` + - before installing Corpus 2 + + in line 25 of corpus2/learn_to_guess/main.cpp the type `ifstream` must be replaced with `std::ifstream` - - before installing Toki - + in lines 223-224 of toki/tests/compare.cpp the call - `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` - must be replaced with - `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` + - before installing Toki + + in lines 223-224 of toki/tests/compare.cpp the call + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` + must be replaced with + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` - + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` + + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` - - before installing Maca - + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` + - before installing Maca + + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` - + in lines 207-208 of maca/tests/compareconv.cpp the call - `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` - must be replaced with - `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` + + in lines 207-208 of maca/tests/compareconv.cpp the call + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` + must be replaced with + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` For an example usage of Maca's interactive mode (in OCaml) see maca_test.ml diff --git a/tools/swigra/README.md b/tools/swigra/README.md index e8085c8..e3ac85c 100644 --- a/tools/swigra/README.md +++ b/tools/swigra/README.md @@ -3,16 +3,16 @@ First the package libmorfeusz2-dev must be downloaded from sgjp.pl/morfeusz/dopo (WARNING: do NOT install the package morfeusz2 as it conflicts with the required package) Then the interface can be compiled by executing - swipl-ld -v -shared -o morfeusz2-swi.so morfeusz2-glueswi.cc -lmorfeusz2 + swipl-ld -v -shared -o morfeusz2-swi.so morfeusz2-glueswi.cc -lmorfeusz2 in the parser directory. For an example usage of Ĺwigra's server mode (in OCaml) see parser/swigra_test.ml The demo assumes you are using swipl which you can install by executing: - sudo apt-get install swi-prolog + sudo apt-get install swi-prolog It also makes use of curl which can be installed with: - sudo apt-get install curl + sudo apt-get install curl Below are the contents of the original README file.