commit 5a7ac46ad06cf7629918263537872718d0350075 Author: vivekvardhanadepu Date: Fri Jul 16 13:43:16 2021 +0530 minor fixes diff --git a/.github/workflows/training.yml b/.github/workflows/training.yml index 309ef88..647b187 100644 --- a/.github/workflows/training.yml +++ b/.github/workflows/training.yml @@ -33,7 +33,7 @@ jobs: mkdir build cd build cmake .. - make + make -j4 VERBOSE=1 V=1 cd .. - name: checking out apertium-eng-spa @@ -47,12 +47,13 @@ jobs: run: | autoreconf -fvi ./configure - make + make -j4 VERBOSE=1 V=1 - name: Installing python dependencies run: | sudo apt-get -qfy install python3-pip pip3 install -r requirements.txt + - name: Training working-directory: tests/training run: python3 ../../lexical_training.py diff --git a/README.md b/README.md index 82dc834..bd04391 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,12 @@ for more, read https://wiki.apertium.org/wiki/Ideas_for_Google_Summer_of_Code/Us - [apertium-core](https://wiki.apertium.org/wiki/Installation) (install apertium-lex-tools with yasmet) - [fast_align](https://github.com/clab/fast_align) - [language pair](https://wiki.apertium.org/wiki/List_of_language_pairs) (install locally) -- python dependencies in requirements.txt +- python dependencies in [requirements.txt](requirements.txt) ## Installation steps - install the requirements and download or clone this repo (`git clone https://github.com/vivekvardhanadepu/apertium-lexical-training.git`) -- create config.toml and provide tools' and corpus' paths in it (for ref, see [config.toml.example](config.toml.example")) +- create config.toml and provide tools' and corpus' paths in it (for ref, see [config.toml.example](config.toml.example)) - run lexical_training.py ## tests