aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md14
-rw-r--r--pre_requirements.txt2
-rw-r--r--requirements.txt1
3 files changed, 11 insertions, 6 deletions
diff --git a/README.md b/README.md
index e49777a..4c5073e 100644
--- a/README.md
+++ b/README.md
@@ -10,15 +10,12 @@ cd Evaluating-Dictionary-Alignment
10## Requirements 10## Requirements
11 11
12```bash 12```bash
13pip install -r pre_requirements.txt
13pip install -r requirements.txt 14pip install -r requirements.txt
14``` 15```
15 16
16- Python 3 17- Python 3
17- [nltk](http://www.nltk.org/) 18- [nltk](http://www.nltk.org/)
18 ```python
19 import nltk
20 nltk.download('wordnet')
21 ```
22- [lapjv](https://pypi.org/project/lapjv/) 19- [lapjv](https://pypi.org/project/lapjv/)
23- [POT](https://pypi.org/project/POT/) 20- [POT](https://pypi.org/project/POT/)
24- [mosestokenizer](https://pypi.org/project/mosestokenizer/) 21- [mosestokenizer](https://pypi.org/project/mosestokenizer/)
@@ -53,7 +50,14 @@ Rest of this README assumes that you are in the repository root directory.
53 50
54## Acquiring The Data 51## Acquiring The Data
55 52
56*Please make sure that the requirements are met, nltk is critical for this stage* 53nltk is required for this stage;
54
55```python
56import nltk
57nltk.download('wordnet')
58```
59
60Then;
57 61
58```bash 62```bash
59./get_data.sh 63./get_data.sh
diff --git a/pre_requirements.txt b/pre_requirements.txt
new file mode 100644
index 0000000..a290fe6
--- /dev/null
+++ b/pre_requirements.txt
@@ -0,0 +1,2 @@
1numpy==1.16.2
2Cython
diff --git a/requirements.txt b/requirements.txt
index 2c2cf41..1a4d6d7 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,3 @@
1numpy==1.16.2
2nltk==3.4.5 1nltk==3.4.5
3lapjv==1.3.1 2lapjv==1.3.1
4mosestokenizer==1.0.0 3mosestokenizer==1.0.0