昔音幻离
|
5c1e948fb8
|
optimize: addToken 性能优化 (#1)
|
2026-01-04 00:00:01 +08:00 |
|
源文雨
|
36c17a10b5
|
fs.File -> io.Reader
|
2022-12-03 10:54:06 +08:00 |
|
源文雨
|
6982ead703
|
优化 jieba
|
2022-11-30 16:00:56 +08:00 |
|
源文雨
|
7c685f789e
|
优化 Segmenter
|
2022-11-30 15:27:46 +08:00 |
|
源文雨
|
f3da9e6420
|
优化 dict, add fs.File 支持
|
2022-11-30 14:14:48 +08:00 |
|
源文雨
|
c8785c7994
|
drop chan in DictLoader
|
2022-11-30 13:49:06 +08:00 |
|
源文雨
|
d487545eb5
|
优化 tag_extracker
|
2022-11-30 13:35:21 +08:00 |
|
源文雨
|
8bbc755ed4
|
优化
|
2022-11-30 12:18:15 +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
|
500e6bd10e
|
tweak style
|
2015-05-04 15:11:55 +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
|
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
|
51c63cb9ad
|
small refactor the interface, use contructors instead of pointers for entry
|
2015-03-30 13:00:56 +08:00 |
|
Wang Bin
|
79adffe328
|
added a new interface for caching
|
2015-03-28 15:49:32 +08:00 |
|
Wang Bin
|
59da5b5e3a
|
removed dict.go, functions move to util.go, also use interface to simplify code
|
2015-03-25 18:28:37 +08:00 |
|
Wang Bin
|
7fe5e7d4c4
|
small refactor, replace WordTagFreq with Entry
|
2015-03-25 17:53:25 +08:00 |
|
Wang Bin
|
73d87e4ed6
|
refactor posseg, added Posseg struct
|
2015-03-24 16:54:02 +08:00 |
|