コード例 #1
0
ファイル: Mecab.cs プロジェクト: slicks77/chiitrans2
 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));
 }
コード例 #2
0
ファイル: Mecab.cs プロジェクト: aaronboo95/chiitrans
 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));
 }