public virtual void set_features(StringWordFeatures feat) { modshogunPINVOKE.PluginEstimate_set_features(swigCPtr, StringWordFeatures.getCPtr(feat)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_observation_nocache(StringWordFeatures obs) { modshogunPINVOKE.HMM_set_observation_nocache(swigCPtr, StringWordFeatures.getCPtr(obs)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_observations(StringWordFeatures obs, HMM hmm) { modshogunPINVOKE.HMM_set_observations__SWIG_0(swigCPtr, StringWordFeatures.getCPtr(obs), HMM.getCPtr(hmm)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public bool append_features(StringWordFeatures sf) { bool ret = modshogunPINVOKE.StringWordFeatures_append_features(swigCPtr, StringWordFeatures.getCPtr(sf)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SalzbergWordStringKernel(StringWordFeatures l, StringWordFeatures r, PluginEstimate pie) : this(modshogunPINVOKE.new_SalzbergWordStringKernel__SWIG_4(StringWordFeatures.getCPtr(l), StringWordFeatures.getCPtr(r), PluginEstimate.getCPtr(pie)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public PolyMatchWordStringKernel(StringWordFeatures l, StringWordFeatures r, int degree, bool inhomogene) : this(modshogunPINVOKE.new_PolyMatchWordStringKernel__SWIG_2(StringWordFeatures.getCPtr(l), StringWordFeatures.getCPtr(r), degree, inhomogene), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public StringWordFeatures(StringWordFeatures orig) : this(modshogunPINVOKE.new_StringWordFeatures__SWIG_5(StringWordFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public LinearHMM(StringWordFeatures f) : this(modshogunPINVOKE.new_LinearHMM__SWIG_1(StringWordFeatures.getCPtr(f)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public HammingWordDistance(StringWordFeatures l, StringWordFeatures r, bool use_sign) : this(modshogunPINVOKE.new_HammingWordDistance__SWIG_2(StringWordFeatures.getCPtr(l), StringWordFeatures.getCPtr(r), use_sign), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ExplicitSpecFeatures(StringWordFeatures str) : this(modshogunPINVOKE.new_ExplicitSpecFeatures__SWIG_2(StringWordFeatures.getCPtr(str)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public WeightedCommWordStringKernel(StringWordFeatures l, StringWordFeatures r) : this(modshogunPINVOKE.new_WeightedCommWordStringKernel__SWIG_4(StringWordFeatures.getCPtr(l), StringWordFeatures.getCPtr(r)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public WeightedCommWordStringKernel(StringWordFeatures l, StringWordFeatures r, bool use_sign, int size) : this(modshogunPINVOKE.new_WeightedCommWordStringKernel__SWIG_2(StringWordFeatures.getCPtr(l), StringWordFeatures.getCPtr(r), use_sign, size), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ManhattanWordDistance(StringWordFeatures l, StringWordFeatures r) : this(modshogunPINVOKE.new_ManhattanWordDistance__SWIG_1(StringWordFeatures.getCPtr(l), StringWordFeatures.getCPtr(r)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ImplicitWeightedSpecFeatures(StringWordFeatures str, bool normalize) : this(modshogunPINVOKE.new_ImplicitWeightedSpecFeatures__SWIG_1(StringWordFeatures.getCPtr(str), normalize), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public Histogram(StringWordFeatures f) : this(modshogunPINVOKE.new_Histogram__SWIG_1(StringWordFeatures.getCPtr(f)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public HMM(StringWordFeatures obs, int N, int M, double PSEUDO) : this(modshogunPINVOKE.new_HMM__SWIG_2(StringWordFeatures.getCPtr(obs), N, M, PSEUDO), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }