coderabbitai[bot]
a50c578a13
📝 Add docstrings to double-pin
...
Docstrings generation was requested by @VictoriousRaptor.
* https://github.com/Flow-Launcher/Flow.Launcher/pull/2427#issuecomment-2980562859
The following files were modified:
* `Flow.Launcher.Infrastructure/IAlphabet.cs`
* `Flow.Launcher.Infrastructure/PinyinAlphabet.cs`
* `Flow.Launcher.Infrastructure/StringMatcher.cs`
* `Flow.Launcher.Infrastructure/TranslationMapping.cs`
2025-06-19 11:06:31 +00:00
Jack251970
4b7db3cbd6
Make function static
2025-04-10 09:36:47 +08:00
Jack Ye
c8a9e5e947
Merge branch 'dev' into double-pin
2025-04-05 22:03:08 +08:00
Jack251970
ef68ccb70a
Fix unit test issue
2025-02-23 21:59:35 +08:00
Hongtao Zhang
f5f0986036
remove some usage of Ioc.GetRequiredService when injection is possible.
2025-02-23 21:54:08 +08:00
Jack251970
e022ad6acd
Remove instance for StringMatcher
2025-02-23 13:40:10 +08:00
Jack251970
3bebb69093
Fix unitest build issue
2025-01-13 10:21:14 +08:00
Jack251970
c3f71c213e
Revert "Fix test project build issue"
...
This reverts commit ff110b3c49 .
2025-01-13 10:18:35 +08:00
Jack251970
ff110b3c49
Fix test project build issue
2025-01-13 10:01:50 +08:00
Jack251970
2a423f09bb
Improve code quality
2025-01-13 09:36:14 +08:00
Jack251970
1b76a2bc1a
Use dependency injection for all services
2025-01-12 19:45:36 +08:00
VictoriousRaptor
46d49d8fdf
Only translate when string is double pinyin
2024-06-02 15:00:45 +08:00
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