コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MPAligner.MPAlignerConfigurationTranslEntry"/> class.
 /// </summary>
 public MPAlignerConfigurationTranslEntry()
 {
     _srcLang     = null;
     _trgLang     = null;
     mosesIniPath = null;
     nBest        = 5;
     stem         = false;
     use          = true;
     threshold    = 0.1;
     maxLenDiff   = 0.7;
     translitBf   = new BezierFunction(0.2, 0.6, 0, 1);
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MPAligner.MPAlignerConfigurationDictEntry"/> class.
 /// </summary>
 public MPAlignerConfigurationDictEntry()
 {
     _srcLang         = null;
     _trgLang         = null;
     path             = null;
     stem             = false;
     maxVariants      = 3;
     variantThreshold = 0.3;
     separators       = " \t";
     filterDictionary = true;
     _nfi             = new NumberFormatInfo();
     decimalSeparator = ".";
     _nfi.CurrencyDecimalSeparator = ".";
     _nfi.NumberDecimalSeparator   = ".";
     _nfi.PercentDecimalSeparator  = ".";
     encodingCodePage = 65001;
     use    = true;
     dictBf = new BezierFunction(0.4, 0.8, 0, 1);
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MPAligner.MPAlignerConfigurationDictEntry"/> class.
 /// </summary>
 public MPAlignerConfigurationDictEntry()
 {
     _srcLang = null;
     _trgLang = null;
     path = null;
     stem = false;
     maxVariants = 3;
     variantThreshold = 0.3;
     separators = " \t";
     filterDictionary = true;
     _nfi = new NumberFormatInfo();
     decimalSeparator = ".";
     _nfi.CurrencyDecimalSeparator = ".";
     _nfi.NumberDecimalSeparator = ".";
     _nfi.PercentDecimalSeparator = ".";
     encodingCodePage = 65001;
     use = true;
     dictBf = new BezierFunction(0.4,0.8,0,1);
 }