Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public ThotSmtModel(string cfgFileName)
     : this(ThotSmtParameters.Load(cfgFileName))
 {
     ConfigFileName = cfgFileName;
 }