コード例 #1
0
        public static TagsetConverter newPdtToConll2009Converter()
        {
            global::System.IntPtr cPtr = morphodita_csharpPINVOKE.TagsetConverter_newPdtToConll2009Converter();
            TagsetConverter       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new TagsetConverter(cPtr, true);

            return(ret);
        }
コード例 #2
0
        public static TagsetConverter newStripLemmaCommentConverter(Morpho dictionary)
        {
            global::System.IntPtr cPtr = morphodita_csharpPINVOKE.TagsetConverter_newStripLemmaCommentConverter(Morpho.getCPtr(dictionary));
            TagsetConverter       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new TagsetConverter(cPtr, true);

            if (morphodita_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw morphodita_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TagsetConverter obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }