-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
30 lines (25 loc) · 1.92 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
sudo: required
language: python
python:
- "3.6"
- "3.7"
- "3.8"
before_install:
- chmod +x test_data/tests/test.sh
install:
- pip install numpy nltk
script:
- python softalignments/process_alignments.py -i test_data/neuralmonkey/alignments.npy -s test_data/neuralmonkey/src.en.bpe -t test_data/neuralmonkey/out.lv.bpe -f NeuralMonkey -o color
- python softalignments/process_alignments.py -i test_data/neuralmonkey/alignments.npy -s test_data/neuralmonkey/src.en.bpe -t test_data/neuralmonkey/out.lv.bpe -f NeuralMonkey -o block
- python softalignments/process_alignments.py -i test_data/neuralmonkey/alignments.npy -s test_data/neuralmonkey/src.en.bpe -t test_data/neuralmonkey/out.lv.bpe -f NeuralMonkey -o block2
- python softalignments/process_alignments.py -i test_data/neuralmonkey/alignments.npy -s test_data/neuralmonkey/src.en.bpe -t test_data/neuralmonkey/out.lv.bpe -f NeuralMonkey -o block -n 4 > test_data/tests/weHope-test.txt
- python softalignments/process_alignments.py -c test_data/neuralmonkey.ini
- python softalignments/process_alignments.py -i test_data/nematus/alignments.txt -f Nematus -o color
- python softalignments/process_alignments.py -i test_data/nematus/newstest2017.hyp -f Nematus -o block -r test_data/nematus/newstest2017.ref -n 15
- python softalignments/process_alignments.py -c test_data/nematus.ini
- python softalignments/process_alignments.py -c test_data/nematus-BLEU.ini
- python softalignments/process_alignments.py -i test_data/marian/marian.out.lv -s test_data/marian/marian.src.en -f Marian -o color
- python softalignments/process_alignments.py -i test_data/marian/marian.out.lv -s test_data/marian/marian.src.en -f Marian -o block -n 2
- python softalignments/process_alignments.py -i test_data/opennmt/attention.txt -f OpenNMT -o color
- python softalignments/process_alignments.py -i test_data/opennmt/attention.txt -f OpenNMT -o block -n 2
- test_data/tests/test.sh