/// <summary> /// MeCabTaggerのインスタンスを生成する /// </summary> /// <returns>MeCabTaggerのインスタンス</returns> public static MeCabTagger Create() { MeCabParam param = new MeCabParam(); param.LoadDicRC(); return(MeCabTagger.Create(param)); }
public MorphologicalAnalyzer(string dictionaryPath) { _tagger = MeCabTagger.Create(new MeCabParam { DicDir = dictionaryPath, UserDic = new string[0], OutputFormatType = "lattice", LatticeLevel = MeCabLatticeLevel.One, AllMorphs = false }); }