Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekvardhanadepu committed Jul 16, 2021
1 parent 2ecb214 commit 5a7ac46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/training.yml
Expand Up @@ -33,7 +33,7 @@ jobs:
mkdir build
cd build
cmake ..
make
make -j4 VERBOSE=1 V=1
cd ..
- name: checking out apertium-eng-spa
Expand All @@ -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
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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
Expand Down

0 comments on commit 5a7ac46

Please sign in to comment.