Jeremy Wu
84d6fc2787
Update variable names
...
Make variables more descriptive of the state they represent
2020-01-03 07:58:20 +11:00
Jeremy Wu
52615c6f52
WIP variables
2020-01-02 08:02:23 +11:00
AT
42edb20b07
fixes to string matcher alg and some logging stuff
2019-12-30 01:13:33 +02:00
SysC0mp
0f9da7f519
Always return filled result again
2019-12-11 19:10:11 +01:00
SysC0mp
e60797cd0f
Introduce RawScore property
...
New property RawScore is used to save the calculated score without any
search precision filtering added.
2019-12-09 21:06:31 +01:00
SysC0mp
49c5c5bbde
Pass "ShouldUsePinyin" to StringMatcher
...
Flag is used in method "ShouldUsePinyin()" to avoid calling Alphabet
service. Otherwise, tests applying to StringMatcher.FuzzySearch() would
fail because the pinyin helper library fails to initialize.
2019-12-09 20:57:59 +01:00
SysC0mp
627e99859d
Directly calculate pinyin if needed
...
The MatchResult will always get the maximum score from either
ScoreForPinyin() or CalculateSearchScore(). ScoreForPinyin() is
completely dependant on the "ShouldUsePinyin" global setting.
2019-12-03 15:31:23 +01:00
SysC0mp
6ebca7fa7c
Apply search precision filter on assignment
...
The search precision must be used, so it makes sense to apply the filter
directly on score assignment. Score will be "0" if precision filter
was not met.
2019-12-03 15:31:23 +01:00
SysC0mp
05f66f9bea
Improve code formatting
2019-12-03 15:31:07 +01:00
AT
9d98d26cc7
added log into Alphabet service since it can induce a large perf hit
2019-11-16 01:28:07 +02:00
Amir Tepper
a3ba2276e2
renamed for Defualt match option
2019-10-20 15:45:06 +03:00
Amir Tepper
0e241a0fc5
added empty match option
2019-10-17 13:37:09 +03:00
Jeremy Wu
9658af4aa9
update
2019-09-29 15:18:50 +10:00
Jeremy Wu
cc23495591
Update Program plugin with new code
2019-09-29 15:03:30 +10:00
Jeremy Wu
a2e439a155
Update browserbookmark plugin with new code
2019-09-29 14:42:34 +10:00
Jeremy Wu
e5753c54a6
Convert StringMatcher class to static and move code from FuzzySearch
2019-09-29 14:24:38 +10:00
jhdxr
7fe01f0764
skip calculation of pinyin score if source string is too long ( #1683 )
2018-12-19 12:14:52 +08:00
bao-qian
5cdc3e694f
Add cache for pinyin query #858
2017-01-12 20:46:40 +00:00
bao-qian
718bff7469
Refactoring pinyin
...
1. use custom patched pinyin library Pinyin4Net
2. fix memory leak on startup: 360mb -> 160mb when using vs15 debugger
2016-04-24 00:37:25 +01:00
bao-qian
6bb0d736be
Add RequireNonNull
...
http://www.yinwang.org/blog-cn/2015/11/21/programming-philosophy
2016-04-22 23:29:38 +01:00
bao-qian
ad8b6c806d
Optimize using directives
2015-10-30 23:23:01 +00:00
qianlifeng
82d30c6e74
Allow searches in context menu
2015-02-07 16:53:33 +08:00