From dad5f6d92c71f9325017c81d77a1b4e1e5728467 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 20 Sep 2019 17:05:37 +0300 Subject: Clarify README, split requirements --- README.md | 14 +++++++++----- pre_requirements.txt | 2 ++ requirements.txt | 1 - 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 pre_requirements.txt 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 ## Requirements ```bash +pip install -r pre_requirements.txt pip install -r requirements.txt ``` - Python 3 - [nltk](http://www.nltk.org/) - ```python - import nltk - nltk.download('wordnet') - ``` - [lapjv](https://pypi.org/project/lapjv/) - [POT](https://pypi.org/project/POT/) - [mosestokenizer](https://pypi.org/project/mosestokenizer/) @@ -53,7 +50,14 @@ Rest of this README assumes that you are in the repository root directory. ## Acquiring The Data -*Please make sure that the requirements are met, nltk is critical for this stage* +nltk is required for this stage; + +```python +import nltk +nltk.download('wordnet') +``` + +Then; ```bash ./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 @@ +numpy==1.16.2 +Cython diff --git a/requirements.txt b/requirements.txt index 2c2cf41..1a4d6d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -numpy==1.16.2 nltk==3.4.5 lapjv==1.3.1 mosestokenizer==1.0.0 -- cgit v1.2.3-70-g09d2