예제 #1
0
 public Tagger() : this(MeCabPINVOKE.new_Tagger__SWIG_1(), true)
 {
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public Lattice() : this(MeCabPINVOKE.new_Lattice(), true)
 {
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 public Model() : this(MeCabPINVOKE.new_Model__SWIG_1(), true)
 {
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public DictionaryInfo() : this(MeCabPINVOKE.new_DictionaryInfo(), true)
 {
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
 public virtual void clear()
 {
     MeCabPINVOKE.Lattice_clear(swigCPtr);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #6
0
 public void set_sentence(string sentence)
 {
     MeCabPINVOKE.Lattice_set_sentence(swigCPtr, sentence);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #7
0
 public virtual void set_what(string str)
 {
     MeCabPINVOKE.Lattice_set_what(swigCPtr, str);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #8
0
 public virtual void set_feature_constraint(uint begin_pos, uint end_pos, string feature)
 {
     MeCabPINVOKE.Lattice_set_feature_constraint(swigCPtr, begin_pos, end_pos, feature);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #9
0
 public virtual void set_boundary_constraint(uint pos, int boundary_constraint_type)
 {
     MeCabPINVOKE.Lattice_set_boundary_constraint(swigCPtr, pos, boundary_constraint_type);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #10
0
 public virtual void set_request_type(int request_type)
 {
     MeCabPINVOKE.Tagger_set_request_type(swigCPtr, request_type);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #11
0
 public virtual void set_Z(double Z)
 {
     MeCabPINVOKE.Lattice_set_Z(swigCPtr, Z);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #12
0
 public virtual void set_partial(bool partial)
 {
     MeCabPINVOKE.Tagger_set_partial(swigCPtr, partial);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #13
0
 public virtual void set_all_morphs(bool all_morphs)
 {
     MeCabPINVOKE.Tagger_set_all_morphs(swigCPtr, all_morphs);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #14
0
 public virtual void set_theta(float theta)
 {
     MeCabPINVOKE.Tagger_set_theta(swigCPtr, theta);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #15
0
 public virtual void remove_request_type(int request_type)
 {
     MeCabPINVOKE.Lattice_remove_request_type(swigCPtr, request_type);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #16
0
 public virtual void set_lattice_level(int level)
 {
     MeCabPINVOKE.Tagger_set_lattice_level(swigCPtr, level);
     if (MeCabPINVOKE.SWIGPendingException.Pending)
     {
         throw MeCabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #17
0
        public virtual bool swap(Model model)
        {
            bool ret = MeCabPINVOKE.Model_swap(swigCPtr, Model.getCPtr(model));

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #18
0
        public virtual string parseNBest(uint N, string str)
        {
            string ret = MeCabPINVOKE.Tagger_parseNBest(swigCPtr, N, str);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #19
0
        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);
        }
예제 #20
0
        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);
        }
예제 #21
0
        public string parseToString(string str)
        {
            string ret = MeCabPINVOKE.Tagger_parseToString__SWIG_1(swigCPtr, str);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #22
0
        public virtual int transition_cost(ushort rcAttr, ushort lcAttr)
        {
            int ret = MeCabPINVOKE.Model_transition_cost(swigCPtr, rcAttr, lcAttr);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #23
0
        public virtual float theta()
        {
            float ret = MeCabPINVOKE.Tagger_theta(swigCPtr);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #24
0
        public virtual int lattice_level()
        {
            int ret = MeCabPINVOKE.Tagger_lattice_level(swigCPtr);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #25
0
        public static string version()
        {
            string ret = MeCabPINVOKE.Model_version();

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #26
0
        public virtual string what()
        {
            string ret = MeCabPINVOKE.Tagger_what(swigCPtr);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #27
0
        public virtual bool parseNBestInit(string str)
        {
            bool ret = MeCabPINVOKE.Tagger_parseNBestInit(swigCPtr, str);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #28
0
        public virtual string formatNode(Node node)
        {
            string ret = MeCabPINVOKE.Tagger_formatNode(swigCPtr, Node.getCPtr(node));

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #29
0
        public virtual bool all_morphs()
        {
            bool ret = MeCabPINVOKE.Tagger_all_morphs(swigCPtr);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #30
0
        public virtual int request_type()
        {
            int ret = MeCabPINVOKE.Tagger_request_type(swigCPtr);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }