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