Пример #1
0
        public NGramModel add(NGramModel model, string name, float weight, bool reuse_widmap)
        {
            global::System.IntPtr cPtr = sphinxbasePINVOKE.NGramModelSet_add(swigCPtr, NGramModel.getCPtr(model), name, weight, reuse_widmap);
            NGramModel            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new NGramModel(cPtr, false);

            return(ret);
        }
Пример #2
0
 public void SetLm(string name, NGramModel lm)
 {
     pocketsphinxPINVOKE.Decoder_SetLm(swigCPtr, name, NGramModel.getCPtr(lm));
 }
Пример #3
0
 public void set_lm(string name, NGramModel lm)
 {
     PocketSphinxPINVOKE.Decoder_set_lm(swigCPtr, name, NGramModel.getCPtr(lm));
 }