Beispiel #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);
        }