mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-23 04:30:44 +08:00
优化
This commit is contained in:
0
posseg/char_state_tab.go
Normal file → Executable file
0
posseg/char_state_tab.go
Normal file → Executable file
0
posseg/char_state_tab_test.go
Normal file → Executable file
0
posseg/char_state_tab_test.go
Normal file → Executable file
2
posseg/dictionary.go
Normal file → Executable file
2
posseg/dictionary.go
Normal file → Executable file
@@ -4,7 +4,7 @@ import (
|
||||
"math"
|
||||
"sync"
|
||||
|
||||
"github.com/wangbin/jiebago/dictionary"
|
||||
"github.com/fumiama/jieba/dictionary"
|
||||
)
|
||||
|
||||
// A Dictionary represents a thread-safe dictionary used for word segmentation.
|
||||
|
||||
2
posseg/example_test.go
Normal file → Executable file
2
posseg/example_test.go
Normal file → Executable file
@@ -3,7 +3,7 @@ package posseg_test
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/wangbin/jiebago/posseg"
|
||||
"github.com/fumiama/jieba/posseg"
|
||||
)
|
||||
|
||||
func Example() {
|
||||
|
||||
2
posseg/posseg.go
Normal file → Executable file
2
posseg/posseg.go
Normal file → Executable file
@@ -5,7 +5,7 @@ import (
|
||||
"math"
|
||||
"regexp"
|
||||
|
||||
"github.com/wangbin/jiebago/util"
|
||||
"github.com/fumiama/jieba/util"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
0
posseg/posseg_test.go
Normal file → Executable file
0
posseg/posseg_test.go
Normal file → Executable file
0
posseg/prob_emit.go
Normal file → Executable file
0
posseg/prob_emit.go
Normal file → Executable file
0
posseg/prob_start.go
Normal file → Executable file
0
posseg/prob_start.go
Normal file → Executable file
0
posseg/prob_trans.go
Normal file → Executable file
0
posseg/prob_trans.go
Normal file → Executable file
0
posseg/viterbi.go
Normal file → Executable file
0
posseg/viterbi.go
Normal file → Executable file
0
posseg/viterbi_test.go
Normal file → Executable file
0
posseg/viterbi_test.go
Normal file → Executable file
Reference in New Issue
Block a user