public virtual bool parse(Lattice lattice) { bool ret = MeCabPINVOKE.Tagger_parse__SWIG_1(swigCPtr, Lattice.getCPtr(lattice)); if (MeCabPINVOKE.SWIGPendingException.Pending) { throw MeCabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool parse(Model model, Lattice lattice) { bool ret = MeCabPINVOKE.Tagger_parse__SWIG_0(Model.getCPtr(model), Lattice.getCPtr(lattice)); if (MeCabPINVOKE.SWIGPendingException.Pending) { throw MeCabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual Node lookup(string begin, string end, Lattice lattice) { IntPtr cPtr = MeCabPINVOKE.Model_lookup(swigCPtr, begin, end, Lattice.getCPtr(lattice)); Node ret = (cPtr == IntPtr.Zero) ? null : new Node(cPtr, false); if (MeCabPINVOKE.SWIGPendingException.Pending) { throw MeCabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }