transfix-mt/inject.sh

16 lines
469 B
Bash
Raw Normal View History

2022-01-23 16:01:44 +01:00
#!/bin/bash
2022-01-24 14:51:22 +01:00
# NOTE: this script is meant to be run from ~
# arguments:
# 1. path to glossary file, E.g. for glossary in ~/data/glossary.tsv should be data/glossary.tsv
# 2. path to in.tsv file
# 3. path to expected.tsv file
# all path should be given as absolute path without ~/ at the very beginning (as seen in the example above)
glossary_path="$1"
in_path="$2"
expected_path="$3"
. ./transfix-mt/scripts/do_inject.sh "$glossary_path" "$in_path" "$expected_path"