PowerToys/Wox
Jeremy Wu 07310c7714 Fix pinyin fuzzysearch (#131)
* fix typo

* make function obsolete 

it is not used in the code

* rewrite the function that converts chinese chars to pinyin

1. Only difference in this rewrite is instead of returning 2D array, return as a combined single string of all the possible pinyin combination. Since fuzzy search does character matching, this shouldn't be a problem.

2. Added a function that returns a custom language converter. In this case Pinyin converter. New converters can be added.

* Use new language converter param + strip out ScoreForPinyin method

* update

* Change parameter name

* fix failing tests

* WIP

* Remove todo

There should be some distinction between score after precision filter and actual raw score derived from FuzzySearch. Although so far RawScore is used in testing, but it seems to describe the structure. Originally it was to avoid assigning score directly as it would be hard to reason about that output of FuzzySearch score is.

* Add constructors, remove default to enforce required properties

* remove setting rawscore in SearchPrecision

* Change method name to reflect intention

* Change parameter name + update comment

* update

* Remove params comment

Co-authored-by: theClueless <14300910+theClueless@users.noreply.github.com>
2020-01-20 01:06:16 +02:00
..
Converters Add highlight converter component 2019-12-03 15:31:23 +01:00
Helper error report windows won't crashs 2017-04-01 13:13:53 +01:00
Images Fix file associated icon 2016-05-03 23:21:03 +01:00
Languages alphabet settings 2019-11-16 00:34:27 +02:00
Properties initial work, added github to setting, 2020-01-07 02:34:46 +02:00
Resources Reduce the icon size and remove unnecessary images. 2014-12-12 13:02:13 +08:00
Storage updated 2019-12-06 22:36:00 +02:00
Themes Add Black And White Theme 2019-08-02 22:35:58 +10:00
ViewModel Merge pull request #119 from theClueless/deploymentUpdates 2020-01-15 09:08:45 +11:00
ActionKeywords.xaml Cleanup using Resharper 2016-03-26 04:46:39 +00:00
ActionKeywords.xaml.cs Fix typo 'success' 2019-08-21 20:18:20 +10:00
App.config initial work, added github to setting, 2020-01-07 02:34:46 +02:00
app.manifest Refactoring error report 2016-05-20 21:16:25 +01:00
app.png Add web search feature & some UI changes. 2014-01-29 22:44:57 +08:00
App.xaml Fix #705 2016-06-16 00:51:30 +01:00
App.xaml.cs Fix pinyin fuzzysearch (#131) 2020-01-20 01:06:16 +02:00
CustomQueryHotkeySetting.xaml Cleanup using Resharper 2016-03-26 04:46:39 +00:00
CustomQueryHotkeySetting.xaml.cs Fix typo 'success' 2019-08-21 20:18:20 +10:00
FodyWeavers.xml Databinding for plugin tab + faster image load 2016-05-25 01:03:37 +01:00
HotkeyControl.xaml disable input method when binding hotkey (fix #1876) 2018-02-14 12:12:12 +08:00
HotkeyControl.xaml.cs Fix typo 'success' 2019-08-21 20:18:20 +10:00
MainWindow.xaml Update MainWindow.xaml 2019-12-30 01:28:10 +02:00
MainWindow.xaml.cs hide tray icon (close #563) 2018-12-19 12:15:05 +08:00
Msg.xaml Fix bug introduced in 7c2e2a01c2 by @aaroncampf 2016-04-26 00:24:50 +01:00
Msg.xaml.cs Increase error message fade from 1 to 5 secs 2019-08-21 08:37:50 +10:00
PublicAPIInstance.cs Fix pinyin fuzzysearch (#131) 2020-01-20 01:06:16 +02:00
ReportWindow.xaml Refactoring error report 2016-05-20 21:16:25 +01:00
ReportWindow.xaml.cs initial work, added github to setting, 2020-01-07 02:34:46 +02:00
ResultListBox.xaml Add highlight converter component 2019-12-03 15:31:23 +01:00
ResultListBox.xaml.cs fix unexpected hovor without mouse moving (#2368) 2019-02-23 04:05:10 +08:00
Settings.cs initial work, added github to setting, 2020-01-07 02:34:46 +02:00
SettingWindow.xaml fixes to string matcher alg and some logging stuff 2019-12-30 01:13:33 +02:00
SettingWindow.xaml.cs initial work, added github to setting, 2020-01-07 02:34:46 +02:00
Wox.csproj Merge pull request #130 from jjw24/clueless/packrefMine 2020-01-18 20:59:50 +11:00