mirror of
https://github.com/Helsinki-NLP/OPUS-MT-train.git
synced 2025-01-06 01:37:00 +03:00
fix some spm models
This commit is contained in:
parent
93ab075d3f
commit
1178dadf8d
@ -886,9 +886,13 @@ endif
|
||||
|
||||
|
||||
|
||||
# ALLSRCSPM = ${wildcard work-spm/*/train/*.src.spm32k-model}
|
||||
|
||||
fix-spm-models:
|
||||
for f in ${ALLSRCSPM}; do \
|
||||
ln -s $$f `dirname $$f`/opus.src.spm32k-model; \
|
||||
cd work-spm; \
|
||||
for l in ${ALL_LANG_PAIRS}; do \
|
||||
cd $$l/train; \
|
||||
if [ ! -e opus.src.spm32k-model ]; then \
|
||||
ln -s *.src.spm32k-model opus.src.spm32k-model; \
|
||||
ln -s *.trg.spm32k-model opus.trg.spm32k-model; \
|
||||
fi; \
|
||||
cd ../..; \
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user