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); }
public void SetLm(string name, NGramModel lm) { pocketsphinxPINVOKE.Decoder_SetLm(swigCPtr, name, NGramModel.getCPtr(lm)); }
public void set_lm(string name, NGramModel lm) { PocketSphinxPINVOKE.Decoder_set_lm(swigCPtr, name, NGramModel.getCPtr(lm)); }