"PinYinQuickSearch"plugin don't rebuild table in T

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
QQ
Junior Member
Junior Member
Posts: 4
Joined: 2009-09-10, 02:13 UTC

"PinYinQuickSearch"plugin don't rebuild table in T

Post by *QQ »

tcmatch.dll date is 2009-5-30
and this pugin in tc7.5 final don't rebuild TC'S result table ,why?
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

1) You need to have a "Uni2Pinyin" file with content like: (you may search the forum for this file)

Code: Select all

3007	ling2
4E00	yi1
4E01	ding1
4E02	kao3
4E03	qi1
4E04	shang4	shang3
4E05	xia4
4E06
4E07	wan4	mo4
4E08	zhang4
4E09	san1
4E0A	shang4	shang3
...
2) You must rename the file to "tcmatch.txt" and place it where tcmatch.dll is.
3) Delete "tcmatch.tbl"
4) start a quicksearch from TC.
5) The file "tcmatch.tbl" is generated.

Why do you need to generate this file again? Do you have a new and improved database? Otherwise its far easier to just reinstall the plugin.
QQ
Junior Member
Junior Member
Posts: 4
Joined: 2009-09-10, 02:13 UTC

Post by *QQ »

I mean this plugin:
http://www.ghisler.ch/board/viewtopic.php?t=23545&highlight=quicksearch
not pro version
I used CTRL+S,ok!
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Ok I did understand something different. :oops:
Dont care for the text above. I also meant this plugin.

Yes use "Ctrl+s" or the ini entry: "QuickSearchAutoFilter".
edwardklo
Junior Member
Junior Member
Posts: 2
Joined: 2015-03-27, 13:44 UTC
Location: Taiwan

Post by *edwardklo »

Samuel wrote:1) You need to have a "Uni2Pinyin" file with content like: (you may search the forum for this file)

Code: Select all

3007	ling2
4E00	yi1
4E01	ding1
4E02	kao3
4E03	qi1
4E04	shang4	shang3
4E05	xia4
4E06
4E07	wan4	mo4
4E08	zhang4
4E09	san1
4E0A	shang4	shang3
...
2) You must rename the file to "tcmatch.txt" and place it where tcmatch.dll is.
3) Delete "tcmatch.tbl"
4) start a quicksearch from TC.
5) The file "tcmatch.tbl" is generated.

Why do you need to generate this file again? Do you have a new and improved database? Otherwise its far easier to just reinstall the plugin.

First of all, thanks for your great effort on QuickSearch.

I am running a TC 8.51a with QuickSearch 2.2.3.
I downloaded the "Uni2Pinyin" file and tried to build my own pinyin table because some words may require a different pronunciation in different pinyin systems.
I followed your instructions but failed to create a new tcmatch.tbl.
Could you let me know what's wrong with it?
Or may I send my table to you and you may create a new table for me?
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

edwardklo wrote:I followed your instructions but failed to create a new tcmatch.tbl.
Could you let me know what's wrong with it?
I just checked the code. I'm sorry, it seems that I stripped the generation part of the code. It should work with an old version of QSx, (from 2009 perhaps also newer versions) that I don't have anymore. (perhaps someone else has it?)

You could try to use Christian Ghisler's plugin to generate the *.tbl and use it with the current version of my plugin:
http://www.ghisler.ch/board/viewtopic.php?p=173110#173110

Hope I could help.
edwardklo
Junior Member
Junior Member
Posts: 2
Joined: 2015-03-27, 13:44 UTC
Location: Taiwan

Post by *edwardklo »

Hi Samuel, I tried to backup&replace the new "tcmatch.dll"(282kb) with the old "tcmatch.tbl"(44kb) you mentioned.

It do regenerate a new tcmatch.tbl, but I found there is a small problem with the file format.

At the begining I saved the "tcmatch.txt" with encoding in UTF-16LE(with signature). The old tcmatch.dll(44kb) did generate the tcmatch.tbl for me but it does not work.

After then I think maybe encoding is a problem so I saved it as the default encoding(big5) in my system. So I tried again and suceed.

Anyway, thanks for your support on this issue. :D
Post Reply