private static void LoadInterface() { mecab_new2 = (mecab_new2Type)LoadFunc(dll, "mecab_new2", typeof(mecab_new2Type)); mecab_destroy = (mecab_destroyType)LoadFunc(dll, "mecab_destroy", typeof(mecab_destroyType)); mecab_sparse_tostr = (mecab_sparse_tostrType)LoadFunc(dll, "mecab_sparse_tostr", typeof(mecab_sparse_tostrType)); mecab_dictionary_info = (mecab_dictionary_infoType)LoadFunc(dll, "mecab_dictionary_info", typeof(mecab_dictionary_infoType)); }