diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
| @@ -9,6 +9,40 @@ This repository contains the scripts to prepare the resources for the study as w | |||
| 9 | import nltk | 9 | import nltk |
| 10 | nltk.download('wordnet') | 10 | nltk.download('wordnet') |
| 11 | ``` | 11 | ``` |
| 12 | - [lapjv](https://pypi.org/project/lapjv/) | ||
| 13 | - [POT](https://pypi.org/project/POT/) | ||
| 14 | - [mosestokenizer](https://pypi.org/project/mosestokenizer/) | ||
| 15 | - (Optional) If using VecMap | ||
| 16 | * NumPy | ||
| 17 | * SciPy | ||
| 18 | |||
| 19 | <details><summary>We recommend using a virtual environment</summary> | ||
| 20 | <p> | ||
| 21 | |||
| 22 | In order to create a [virtual environment](https://docs.python.org/3/library/venv.html#venv-def) that resides in a directory `.env` under home; | ||
| 23 | |||
| 24 | ```bash | ||
| 25 | cd ~ | ||
| 26 | mkdir -p .env && cd .env | ||
| 27 | python -m venv evaluating | ||
| 28 | source ~/.env/evaluating/bin/activate | ||
| 29 | ``` | ||
| 30 | |||
| 31 | Inside the virtual environment, the python interpreter and the installed packages are isolated. | ||
| 32 | In order to install all dependencies automatically; | ||
| 33 | |||
| 34 | ```bash | ||
| 35 | pip install -r requirements.txt | ||
| 36 | ``` | ||
| 37 | |||
| 38 | After done with the environment run; | ||
| 39 | |||
| 40 | ```bash | ||
| 41 | deactivate | ||
| 42 | ``` | ||
| 43 | |||
| 44 | </p> | ||
| 45 | |||
| 12 | 46 | ||
| 13 | ## Acquiring The Data | 47 | ## Acquiring The Data |
| 14 | 48 | ||
