1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-07-02 01:50:29 +08:00

rename GetDAG to DAG

This commit is contained in:
Wang Bin
2015-02-26 16:56:18 +08:00
parent aa9ad48b1c
commit f7fdb9749d
2 changed files with 8 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ func cutDetail(sentence string) []WordTag {
type cutAction func(sentence string) []WordTag
func cut_DAG(sentence string) []WordTag {
dag := jiebago.GetDAG(sentence)
dag := jiebago.DAG(sentence)
routes := jiebago.Calc(sentence, dag)
x := 0
var y int
@@ -182,7 +182,7 @@ func cut_DAG(sentence string) []WordTag {
func cut_DAG_NO_HMM(sentence string) []WordTag {
result := make([]WordTag, 0)
dag := jiebago.GetDAG(sentence)
dag := jiebago.DAG(sentence)
routes := jiebago.Calc(sentence, dag)
x := 0
var y int