public ThotSmtBatchTrainer(string cfgFileName, Func <string, string> sourcePreprocessor, Func <string, string> targetPreprocessor, ParallelTextCorpus corpus, int maxCorpusCount = int.MaxValue) : this(ThotSmtParameters.Load(cfgFileName), sourcePreprocessor, targetPreprocessor, corpus, maxCorpusCount) { ConfigFileName = cfgFileName; }
public ThotSmtModel(string cfgFileName) : this(ThotSmtParameters.Load(cfgFileName)) { ConfigFileName = cfgFileName; }