default name always opus

This commit is contained in:
Joerg Tiedemann 2020-01-12 01:25:14 +02:00
parent e2ed3d85d1
commit 5fd415e69b

View File

@ -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