Apologies for posting in English, I found this thread while searching the forum for PinYin.
Background: Lintalist can search for text using incremental search -
https://lintalist.github.io/#Searching -
Typing 'sea tex' will find 'searching text' but ALSO 'searching for text' or 'text about the sea'
Someone asked if PinYin search could be added to Lintalist, so as far as I understand it you would type "w" or "wo" and be able to find "我".
As I know nothing about it is is a bit of a stab in the dark.
Part 1 - AutoHotkey only solution (no DLL)
But this is what I've come up with so far and perhaps you could have a look to see if it is actually worth adding and useful:
https://github.com/lintalist/lintalist/issues/253#issuecomment-1684944005
(code + data table used)
I've converted the hex values in the
http://kanji.zinbun.kyoto-u.ac.jp/~yasuoka/CJK.html Uni2Pinyin table to Decimal values so SetFormat Hex/Dec Conversion + SubStr are no longer needed and can use Ord() directly.
Is this actually useful for my use case?
Part 2: - TCMATCH DLL
A few posts above in the GH issue there is also a TCMATCH DLL version, is that actually better or faster?
For it to work you need tcmatch64.dll (tcmatch.dll) which is part of a Total Commander tool"
https://ghisler.ch/board/viewtopic.php?t=22592
You can download the DLLs here
https://1drv.ms/f/s!AC5p-6IfkMT4g%51%51
In order for the download to work you may need to select multiple files as downloading one file doesn't (always) seem to work, select, select:
QuickSearch eXtended.zip (has the DLLs)
QuickSearch eXtended - source.zip
tcmatch.pdf
then press download.
You need to copy
tcmatch.dll
tcmatch64.dll
tcmatch.tbl
and create the tcmatch.ini as posted above