Commit 364804adfe913fded82b9bb6e670d6c3f65743a7
1 parent
dd64a6e5
Updated READMEs.
Showing
3 changed files
with
75 additions
and
35 deletions
tools/concraft/README.md
1 | 1 | The instructions below apply to modern systems with the following caveats: |
2 | -Before running stack install it might be necessary to execute stack setup in order to install the correct version of ghc. | |
3 | - | |
4 | -Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects/libpltagger/wiki/InstallOnUbuntu11 with the following exceptions: | |
5 | -The package libboost-all-dev can be installed in place of libboost1.42-all-dev as the latter might be unavailable. | |
6 | -Instead of using Bartosz Zaborowski's repository one can download Morfeusz directly from | |
7 | -ppa.launchpad.net/bartosz-zaborowski/nlp/ubuntu/pool/main/m/morfeusz-sgjp/morfeusz-sgjp_0.81-1~precise_amd64.deb | |
8 | -Before installing SFST it is necessary to modify the file maca/third_party/SFST-1.2/SFST/src/fst.C | |
9 | -In lines 445 and 449 the identifier it must be replaced with iter (or any other non-conflicting identifier). | |
10 | -It might also be necessary to install ncurses using | |
11 | -sudo apt-get install libncurses5-dev | |
12 | - | |
13 | -After Concraft is successfully installed its executable can be found in ~/.local/bin | |
2 | + | |
3 | +* Before running stack install it might be necessary to execute stack setup in order to install the correct version of ghc. | |
4 | + | |
5 | +* Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects/libpltagger/wiki/InstallOnUbuntu11 with the following exceptions: | |
6 | + * The package libboost-all-dev can be installed in place of libboost1.42-all-dev as the latter might be unavailable. | |
7 | + | |
8 | + * It might also be necessary to install ncurses using | |
9 | + | |
10 | + sudo apt-get install libncurses5-dev | |
11 | + | |
12 | + * Instead of using adding Bartosz Zaborowski's repository one can download Morfeusz directly from | |
13 | + ppa.launchpad.net/bartosz-zaborowski/nlp/ubuntu/pool/main/m/morfeusz-sgjp/morfeusz-sgjp_0.81-1~precise_amd64.deb | |
14 | + | |
15 | + * 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). | |
16 | + | |
17 | + * Additionally with newer versions of boost the following changes become necessary: | |
18 | + - before installing Corpus 2 | |
19 | + + in line 25 of corpus2/learn_to_guess/main.cpp the type `ifstream` must be replaced with `std::ifstream` | |
20 | + | |
21 | + - before installing Toki | |
22 | + + in lines 223-224 of toki/tests/compare.cpp the call | |
23 | + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` | |
24 | + must be replaced with | |
25 | + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` | |
26 | + | |
27 | + + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` | |
28 | + | |
29 | + - before installing Maca | |
30 | + + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` | |
31 | + | |
32 | + + in lines 207-208 of maca/tests/compareconv.cpp the call | |
33 | + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` | |
34 | + must be replaced with | |
35 | + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` | |
36 | + | |
37 | +After Concraft is successfully installed its executable can be found in ~/.local/bin | |
14 | 38 | For an example usage of Concraft's server-client mode (in OCaml) see concraft_test.ml |
15 | 39 | |
16 | 40 | Below are the contents of the original README file. |
... | ... |
tools/maca/README.md
1 | 1 | Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects/libpltagger/wiki/InstallOnUbuntu11 with the following exceptions: |
2 | 2 | |
3 | -The package libboost-all-dev can be installed in place of libboost1.42-all-dev as the latter might be unavailable. | |
4 | -It might also be necessary to install ncurses using | |
5 | -sudo apt-get install libncurses5-dev | |
6 | - | |
7 | -Instead of using adding Bartosz Zaborowski's repository one can download Morfeusz directly from | |
8 | -ppa.launchpad.net/bartosz-zaborowski/nlp/ubuntu/pool/main/m/morfeusz-sgjp/morfeusz-sgjp_0.81-1~precise_amd64.deb | |
9 | - | |
10 | -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). | |
11 | -Additionally with newer versions of boost the following changes become necessary: | |
12 | -- before installing Corpus 2 | |
13 | - in line 25 of corpus2/learn_to_guess/main.cpp the type ifstream must be replaced with std::ifstream | |
14 | -- before installing Toki | |
15 | - 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__) | |
16 | - in line 105 of toki/tests/srx.cpp BOOST_MESSAGE must be replaced with BOOST_TEST_MESSAGE | |
17 | -- before installing Maca | |
18 | - in line 100 of maca/tests/compareconv.cpp BOOST_MESSAGE must be replaced with BOOST_TEST_MESSAGE | |
19 | - 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__) | |
3 | +* The package libboost-all-dev can be installed in place of libboost1.42-all-dev as the latter might be unavailable. | |
4 | + | |
5 | +* It might also be necessary to install ncurses using | |
6 | + | |
7 | + sudo apt-get install libncurses5-dev | |
8 | + | |
9 | +* Instead of using adding Bartosz Zaborowski's repository one can download Morfeusz directly from | |
10 | + ppa.launchpad.net/bartosz-zaborowski/nlp/ubuntu/pool/main/m/morfeusz-sgjp/morfeusz-sgjp_0.81-1~precise_amd64.deb | |
11 | + | |
12 | +* 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). | |
13 | + | |
14 | +* Additionally with newer versions of boost the following changes become necessary: | |
15 | + - before installing Corpus 2 | |
16 | + + in line 25 of corpus2/learn_to_guess/main.cpp the type `ifstream` must be replaced with `std::ifstream` | |
17 | + | |
18 | + - before installing Toki | |
19 | + + in lines 223-224 of toki/tests/compare.cpp the call | |
20 | + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` | |
21 | + must be replaced with | |
22 | + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` | |
23 | + | |
24 | + + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` | |
25 | + | |
26 | + - before installing Maca | |
27 | + + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` | |
28 | + | |
29 | + + in lines 207-208 of maca/tests/compareconv.cpp the call | |
30 | + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name)` | |
31 | + must be replaced with | |
32 | + `boost::unit_test::make_test_case(boost::bind(test_one_item, ci), name, __FILE__, __LINE__)` | |
20 | 33 | |
21 | 34 | For an example usage of Maca's interactive mode (in OCaml) see maca_test.ml |
22 | 35 | |
... | ... |
tools/swigra/README.md
1 | -Before using Świgra it might be necessary to compile the Prolog interface to the morphological analyzer Morfeusz. | |
2 | -First the package libmorfeusz2-dev must be downloaded from sgjp.pl/morfeusz/dopobrania.html and installed. | |
1 | +Before using Świgra it might be necessary to compile the Prolog interface to the morphological analyzer Morfeusz. | |
2 | +First the package libmorfeusz2-dev must be downloaded from sgjp.pl/morfeusz/dopobrania.html and installed. | |
3 | 3 | (WARNING: do NOT install the package morfeusz2 as it conflicts with the required package) |
4 | 4 | Then the interface can be compiled by executing |
5 | -swipl-ld -v -shared -o morfeusz2-swi.so morfeusz2-glueswi.cc -lmorfeusz2 | |
5 | + | |
6 | + swipl-ld -v -shared -o morfeusz2-swi.so morfeusz2-glueswi.cc -lmorfeusz2 | |
6 | 7 | in the parser directory. |
7 | 8 | |
8 | -For an example usage of Świgra's server mode (in OCaml) see parser/swigra_test.ml | |
9 | +For an example usage of Świgra's server mode (in OCaml) see parser/swigra_test.ml | |
9 | 10 | The demo assumes you are using swipl which you can install by executing: |
10 | -sudo apt-get install swi-prolog | |
11 | + | |
12 | + sudo apt-get install swi-prolog | |
11 | 13 | It also makes use of curl which can be installed with: |
12 | -sudo apt-get install curl | |
14 | + | |
15 | + sudo apt-get install curl | |
13 | 16 | |
14 | 17 | Below are the contents of the original README file. |
15 | 18 | |
... | ... |