private void ReadNodeInfo(MeCabDictionary dic, Token token, MeCabNode node) { node.LCAttr = token.LcAttr; node.RCAttr = token.RcAttr; node.PosId = token.PosId; node.WCost = token.WCost; node.SetFeature(token.Feature, dic); }
private void ReadNodeInfo(MeCabDictionary dic, Token token, MeCabNode node) { node.LCAttr = token.LcAttr; node.RCAttr = token.RcAttr; node.PosId = token.PosId; node.WCost = token.WCost; //node.Token = token; //node.Feature = dic.GetFeature(token); //この段階では素性情報を取得しない node.SetFeature(token.Feature, dic); //そのかわり遅延取得を可能にする }