Exemple #1
0
 public NGramModel(Config config, LogMath logmath, string path) : this(SphinxBasePINVOKE.new_NGramModel__SWIG_1(Config.getCPtr(config), LogMath.getCPtr(logmath), path), true)
 {
 }
Exemple #2
0
 public FsgModel(string path, LogMath logmath, float lw) : this(SphinxBasePINVOKE.new_FsgModel__SWIG_1(path, LogMath.getCPtr(logmath), lw), true)
 {
 }
Exemple #3
0
        public FsgModel build_fsg(JsgfRule rule, LogMath logmath, float lw)
        {
            global::System.IntPtr cPtr = sphinxbasePINVOKE.Jsgf_build_fsg(swigCPtr, JsgfRule.getCPtr(rule), LogMath.getCPtr(logmath), lw);
            FsgModel ret = (cPtr == global::System.IntPtr.Zero) ? null : new FsgModel(cPtr, false);

            return(ret);
        }
Exemple #4
0
 public FsgModel(string name, LogMath logmath, float lw, int n) : this(SphinxBasePINVOKE.new_FsgModel__SWIG_0(name, LogMath.getCPtr(logmath), lw, n), true)
 {
 }
 public NGramModelSet(Config config, LogMath logmath, string path) : this(sphinxbasePINVOKE.new_NGramModelSet(Config.getCPtr(config), LogMath.getCPtr(logmath), path), true)
 {
 }