Commit graph

31 commits

Author SHA1 Message Date
Vic
f17571e835 Fix alphabet translation logic 2022-11-16 23:32:27 +08:00
Jeremy Wu
7d87292e24 add score adjust for a match that is closer to the start of string 2022-11-04 22:03:41 +11:00
Jeremy Wu
4331398932 update summary, comments & formatting 2021-02-02 20:28:52 +11:00
弘韬 张
65a6548c56 Use int instead of decimal 2021-02-02 12:42:55 +08:00
弘韬 张
f9b7294b93 Optimize code 2021-02-02 12:38:41 +08:00
Jeremy Wu
2bdf69b431 separate acronym count and check 2021-02-02 07:41:36 +11:00
Jeremy Wu
838d0ec583 combine condition 2021-02-02 05:45:24 +11:00
Jeremy Wu
99da6f207a move acronym check to method and update scoring to percentage based 2021-02-01 21:34:35 +11:00
Jeremy Wu
bb6a91124a add loop to check remaining acronyms if previous matched 2021-02-01 06:50:53 +11:00
Jeremy Wu
c395cc74b5 move control variable down for readability during debug 2021-02-01 06:08:05 +11:00
弘韬 张
efdfd064ed Merge branch 'AcronymFuzzy' of github.com:taooceros/Flow.Launcher into AcronymFuzzy 2021-01-29 18:09:21 +08:00
弘韬 张
58b717c008 Update summary 2021-01-29 17:31:52 +08:00
Jeremy Wu
a6ce350697 fix formatting 2021-01-28 21:21:35 +11:00
Jeremy Wu
74f1b05257 make map variable more clear + formatting 2021-01-28 20:41:33 +11:00
Jeremy Wu
81733d35a6 fix formatting 2021-01-28 14:05:09 +11:00
弘韬 张
67b0bfd73a Merge dev 2021-01-26 16:26:45 +08:00
Jeremy Wu
e31bef7d3c fix formatting + naming 2021-01-26 18:01:39 +11:00
弘韬 张
a8e4c504d0 Move MatchResult to Flow.Launcher.Plugin so that plugins can utilize main method 2021-01-08 15:52:45 +08:00
张弘韬
7ceb08071c Use inner loop to evaluate acronym match (Big Change)
Don't end loop before acronym match end since if acronym match exist, we will use that one.
2020-12-27 20:16:20 +08:00
张弘韬
2c9f4149b7 optimize use 2020-12-22 22:58:27 +08:00
张弘韬
b7a0ada60b Add Mapping to original string after translation. Not sure about the performance, but seems satisfying.
It requires at most n times loop (n: number of translated charater) mapping once.
2020-12-22 21:53:59 +08:00
弘韬 张
706f30a3a2 Add number support (treat number as part of acronuym) 2020-10-24 17:45:31 +08:00
弘韬 张
4d06187fa5 use ?. and ?? instead of if == null 2020-10-20 08:28:05 +08:00
弘韬 张
468f8899b9 Add return statement.... 2020-10-18 21:31:08 +08:00
弘韬 张
9ad7838729 merge one extra condition to the switch case 2020-10-18 21:25:55 +08:00
弘韬 张
c63c98645c Add Acronym Support for Fuzzy Search 2020-10-18 21:17:29 +08:00
Jeremy Wu
ac46fdc2c9 remove code that has been marked obsolete 2020-08-04 20:01:46 +10:00
Jeremy Wu
3abd2d0b07 fix formatting 2020-06-23 20:46:36 +10:00
Alekhya
30c37f06ae Take space into consideration while calculating the first matched index (#3874) 2020-06-22 19:08:43 +10:00
Jeremy Wu
9386711d4a Fix substring scoring 2020-04-25 13:02:46 +10:00
Jeremy Wu
3c7f067770 rename all project file name 2020-04-21 21:27:02 +10:00
Renamed from Wox.Infrastructure/StringMatcher.cs (Browse further)