1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-05 00:32:51 +08:00
Commit Graph

139 Commits

Author SHA1 Message Date
Wang Bin
6b75cef871 tweak SuggestFrequency, added example 2015-05-08 16:34:28 +08:00
Wang Bin
c48eb5b4a7 added AddWord/DeleteWord/SuggestFrequency functions, this is correpsonding to jieba commit #59aa8b69b1399569ea6b417280c993da703baba8 2015-05-08 11:57:46 +08:00
Wang Bin
3d91f615cf moved tokenizers to a seperated module 2015-05-07 18:52:29 +08:00
Wang Bin
7440fa00df tweak examples for nalyse 2015-05-07 17:43:35 +08:00
Wang Bin
16bd618c0c fixed tests, tweak examples 2015-05-07 17:38:08 +08:00
Wang Bin
385514113a Merge branch 'release/v0.3' 2015-05-07 15:26:03 +08:00
Wang Bin
d03900e757 updated README 2015-05-07 15:25:09 +08:00
Wang Bin
1497472b82 added example_parallel_cut_test.go 2015-05-07 15:10:16 +08:00
Wang Bin
939e903f31 small code refactor 2015-05-07 10:59:01 +08:00
Wang Bin
c068670e9b added more examples 2015-05-06 17:50:29 +08:00
Wang Bin
b3ea94ba47 tweak docs 2015-05-06 16:11:11 +08:00
Wang Bin
f96acf3e85 added example_test.go, rename analyse_test.go to tag_extracker_test.go, removed bench.sh 2015-05-06 15:57:05 +08:00
Wang Bin
4e8887da5e added package documentation 2015-05-06 15:23:35 +08:00
Wang Bin
c937cdac5d added example_test.go 2015-05-06 15:19:00 +08:00
Wang Bin
122bad0a8d code refactor, added more documents 2015-05-06 12:55:04 +08:00
Wang Bin
87caff09cb small refactor according to go vet check results 2015-05-04 18:56:55 +08:00
Wang Bin
cfed2de1cd added tests for dictionary/dictionary.go 2015-05-04 18:40:50 +08:00
Wang Bin
1a9466927a move tokenizer.go to top directory 2015-05-04 18:20:35 +08:00
Wang Bin
52fad00403 refactor analyse module 2015-05-04 16:39:37 +08:00
Wang Bin
500e6bd10e tweak style 2015-05-04 15:11:55 +08:00
Wang Bin
edef39719d move jieba to a seperate module, tweak posseg module 2015-04-30 17:01:02 +08:00
Wang Bin
d9f77563bf added util module 2015-04-30 15:26:34 +08:00
Wang Bin
732196127b added more tests for dictionary.go 2015-04-30 11:21:16 +08:00
Wang Bin
ac7628edaf added tests for dictionary.go, fixed a small bug 2015-04-30 11:03:54 +08:00
Wang Bin
ae54d82c68 added tests for dictionary.go, fixed a small bug 2015-04-30 11:02:01 +08:00
Wang Bin
0124ebadce put dictionary to a seperated module 2015-04-29 18:51:38 +08:00
Wang Bin
b19eb4f6fe code refactor, use uint for map key to improve performance 2015-04-06 20:24:07 +08:00
Wang Bin
17ab0b2cc7 small style refactor 2015-04-04 17:42:41 +08:00
Wang Bin
83efde1e61 small refactors, removed sort in dag, save logTotal in segmenter 2015-04-04 17:10:40 +08:00
Wang Bin
5c6a2eff74 Merge branch 'posseg' into develop 2015-04-04 15:39:21 +08:00
Wang Bin
847dae9d38 added bench.sh 2015-04-04 15:35:01 +08:00
Wang Bin
e8cf1e9a9c small refactor 2015-04-04 15:30:11 +08:00
Wang Bin
188133261f small tweaks, added bench.sh for benchmark 2015-04-04 15:26:26 +08:00
Wang Bin
bbe302a351 removed sorts to slightly improve performance 2015-04-03 16:48:45 +08:00
Wang Bin
d22cc9b6b6 fixed a typo in jieba_test.go 2015-04-02 18:29:24 +08:00
Wang Bin
84ad6fe25e code refactor, updated RegexpSplit function to match Python's re.split function 2015-04-02 18:25:00 +08:00
Wang Bin
0ab9063f43 added benchmarks for posseg 2015-03-31 13:49:54 +08:00
Wang Bin
3852f660aa added benchmark for Cut related functions 2015-03-31 12:03:01 +08:00
Wang Bin
7cf16072e6 updated all tests to use Fatal/Fatalf to fail tests ealier 2015-03-30 18:01:21 +08:00
Wang Bin
c397cafe8a uniform the api 2015-03-30 17:52:09 +08:00
Wang Bin
7a7f8af517 move DAG related function to a seperated file, rename Calc to Routes 2015-03-30 17:10:48 +08:00
Wang Bin
68fed7e250 make struct Jieba's fields private 2015-03-30 16:12:02 +08:00
Wang Bin
c4c3a5f9ad refactor Cut function, make CutAll a seperate function, to simplify the logic of Cut function 2015-03-30 15:18:36 +08:00
Wang Bin
556b96b137 removed unused method/property 2015-03-30 14:31:41 +08:00
Wang Bin
328310cfbb removed all cache load/dump related codes, benchmark shows read from dict file is faster than load from gob file 2015-03-30 14:25:08 +08:00
Wang Bin
0ca4053394 fixed the test failure in textrank 2015-03-30 13:06:44 +08:00
Wang Bin
51c63cb9ad small refactor the interface, use contructors instead of pointers for entry 2015-03-30 13:00:56 +08:00
Wang Bin
48a0bd390b fixed a typo in previous commit 2015-03-30 11:13:00 +08:00
Wang Bin
a66bf2a0bd move dictPath function private 2015-03-30 11:02:57 +08:00
Wang Bin
79adffe328 added a new interface for caching 2015-03-28 15:49:32 +08:00