Example #1
0
        public static NGramBindModel Load12_MaxN()
        {
            var ng1   = Load <NGram1Model>();
            var ng2   = Load <NGram2Model>();
            var model = new NGramBindModel(new NGramModelBase[] { ng1, ng2 });

            //model.PinyinDict = pydict;
            return(model);
        }
Example #2
0
        public static NGramBindModel Load12_Lambda()
        {
            var ng1   = Load <NGram1Model>();
            var ng2   = Load <NGram2Model>();
            var model = new NGramBindModel(new NGramModelBase[] { ng1, ng2 });

            //model.PinyinDict = pydict;
            model.MixDistributeStrategy = NGramBindModel.MixDistributeStrategy_Lambda;
            return(model);
        }