Commit 060b796883d66ef252cc2d4c1e466abd3b90ea77

Authored by Jan Lupa
1 parent 364804ad

README changes.

tools/concraft/README.md
@@ -3,36 +3,36 @@ The instructions below apply to modern systems with the following caveats: @@ -3,36 +3,36 @@ The instructions below apply to modern systems with the following caveats:
3 * Before running stack install it might be necessary to execute stack setup in order to install the correct version of ghc. 3 * Before running stack install it might be necessary to execute stack setup in order to install the correct version of ghc.
4 4
5 * Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects/libpltagger/wiki/InstallOnUbuntu11 with the following exceptions: 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. 6 + * The package libboost-all-dev can be installed in place of libboost1.42-all-dev as the latter might be unavailable.
7 7
8 - * It might also be necessary to install ncurses using 8 + * It might also be necessary to install ncurses using
9 9
10 - sudo apt-get install libncurses5-dev 10 + sudo apt-get install libncurses5-dev
11 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 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 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). 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 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` 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 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__)` 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 26
27 - + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` 27 + + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE`
28 28
29 - - before installing Maca  
30 - + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` 29 + - before installing Maca
  30 + + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE`
31 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__)` 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 36
37 After Concraft is successfully installed its executable can be found in ~/.local/bin 37 After Concraft is successfully installed its executable can be found in ~/.local/bin
38 For an example usage of Concraft's server-client mode (in OCaml) see concraft_test.ml 38 For an example usage of Concraft's server-client mode (in OCaml) see concraft_test.ml
tools/maca/README.md
@@ -4,7 +4,7 @@ Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects @@ -4,7 +4,7 @@ Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects
4 4
5 * It might also be necessary to install ncurses using 5 * It might also be necessary to install ncurses using
6 6
7 - sudo apt-get install libncurses5-dev 7 + sudo apt-get install libncurses5-dev
8 8
9 * Instead of using adding Bartosz Zaborowski's repository one can download Morfeusz directly from 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 10 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 @@ -12,24 +12,24 @@ Maca can be installed using the instructions on nlp.pwr.wroc.pl/redmine/projects
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). 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 13
14 * Additionally with newer versions of boost the following changes become necessary: 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` 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 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__)` 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 23
24 - + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` 24 + + in line 105 of toki/tests/srx.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE`
25 25
26 - - before installing Maca  
27 - + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE` 26 + - before installing Maca
  27 + + in line 100 of maca/tests/compareconv.cpp `BOOST_MESSAGE` must be replaced with `BOOST_TEST_MESSAGE`
28 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__)` 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__)`
33 33
34 For an example usage of Maca's interactive mode (in OCaml) see maca_test.ml 34 For an example usage of Maca's interactive mode (in OCaml) see maca_test.ml
35 35
tools/swigra/README.md
@@ -3,16 +3,16 @@ First the package libmorfeusz2-dev must be downloaded from sgjp.pl/morfeusz/dopo @@ -3,16 +3,16 @@ First the package libmorfeusz2-dev must be downloaded from sgjp.pl/morfeusz/dopo
3 (WARNING: do NOT install the package morfeusz2 as it conflicts with the required package) 3 (WARNING: do NOT install the package morfeusz2 as it conflicts with the required package)
4 Then the interface can be compiled by executing 4 Then the interface can be compiled by executing
5 5
6 - swipl-ld -v -shared -o morfeusz2-swi.so morfeusz2-glueswi.cc -lmorfeusz2 6 + swipl-ld -v -shared -o morfeusz2-swi.so morfeusz2-glueswi.cc -lmorfeusz2
7 in the parser directory. 7 in the parser directory.
8 8
9 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
10 The demo assumes you are using swipl which you can install by executing: 10 The demo assumes you are using swipl which you can install by executing:
11 11
12 - sudo apt-get install swi-prolog 12 + sudo apt-get install swi-prolog
13 It also makes use of curl which can be installed with: 13 It also makes use of curl which can be installed with:
14 14
15 - sudo apt-get install curl 15 + sudo apt-get install curl
16 16
17 Below are the contents of the original README file. 17 Below are the contents of the original README file.
18 18