mirror of
https://github.com/Helsinki-NLP/OPUS-MT-train.git
synced 2024-09-11 20:27:19 +03:00
default name always opus
This commit is contained in:
parent
e2ed3d85d1
commit
5fd415e69b
@ -140,20 +140,30 @@ PRE = norm
|
|||||||
PRE_SRC = spm${SRCBPESIZE:000=}k
|
PRE_SRC = spm${SRCBPESIZE:000=}k
|
||||||
PRE_TRG = spm${TRGBPESIZE:000=}k
|
PRE_TRG = spm${TRGBPESIZE:000=}k
|
||||||
|
|
||||||
|
|
||||||
##-------------------------------------
|
##-------------------------------------
|
||||||
|
## default name of the data set (and the model)
|
||||||
|
##-------------------------------------
|
||||||
|
|
||||||
|
ifndef DATASET
|
||||||
|
DATASET = opus
|
||||||
|
endif
|
||||||
|
|
||||||
|
##-------------------------------------
|
||||||
|
## OLD OLD OLD
|
||||||
## name of the data set (and the model)
|
## name of the data set (and the model)
|
||||||
## - single corpus = use that name
|
## - single corpus = use that name
|
||||||
## - multiple corpora = opus
|
## - multiple corpora = opus
|
||||||
## add also vocab size to the name
|
## add also vocab size to the name
|
||||||
##-------------------------------------
|
##-------------------------------------
|
||||||
|
|
||||||
ifndef DATASET
|
# ifndef DATASET
|
||||||
ifeq (${words ${TRAINSET}},1)
|
# ifeq (${words ${TRAINSET}},1)
|
||||||
DATASET = ${TRAINSET}
|
# DATASET = ${TRAINSET}
|
||||||
else
|
# else
|
||||||
DATASET = opus
|
# DATASET = opus
|
||||||
endif
|
# endif
|
||||||
endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user