diff options
author | Yigit Sever | 2019-09-20 17:05:37 +0300 |
---|---|---|
committer | Yigit Sever | 2019-09-20 17:05:37 +0300 |
commit | dad5f6d92c71f9325017c81d77a1b4e1e5728467 (patch) | |
tree | 7cd467246671b7c70c25576829f957f42b2d095f | |
parent | aea0ad57f7b7c82a20892343a3979bc4cc4e76ee (diff) | |
download | Evaluating-Dictionary-Alignment-dad5f6d92c71f9325017c81d77a1b4e1e5728467.tar.gz Evaluating-Dictionary-Alignment-dad5f6d92c71f9325017c81d77a1b4e1e5728467.tar.bz2 Evaluating-Dictionary-Alignment-dad5f6d92c71f9325017c81d77a1b4e1e5728467.zip |
Clarify README, split requirements
-rw-r--r-- | README.md | 14 | ||||
-rw-r--r-- | pre_requirements.txt | 2 | ||||
-rw-r--r-- | requirements.txt | 1 |
3 files changed, 11 insertions, 6 deletions
@@ -10,15 +10,12 @@ cd Evaluating-Dictionary-Alignment | |||
10 | ## Requirements | 10 | ## Requirements |
11 | 11 | ||
12 | ```bash | 12 | ```bash |
13 | pip install -r pre_requirements.txt | ||
13 | pip install -r requirements.txt | 14 | pip 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* | 53 | nltk is required for this stage; |
54 | |||
55 | ```python | ||
56 | import nltk | ||
57 | nltk.download('wordnet') | ||
58 | ``` | ||
59 | |||
60 | Then; | ||
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 @@ | |||
1 | numpy==1.16.2 | ||
2 | Cython | ||
diff --git a/requirements.txt b/requirements.txt index 2c2cf41..1a4d6d7 100644 --- a/requirements.txt +++ b/requirements.txt | |||
@@ -1,4 +1,3 @@ | |||
1 | numpy==1.16.2 | ||
2 | nltk==3.4.5 | 1 | nltk==3.4.5 |
3 | lapjv==1.3.1 | 2 | lapjv==1.3.1 |
4 | mosestokenizer==1.0.0 | 3 | mosestokenizer==1.0.0 |