Online Lookup

You can add websites to the list of sites that Chinese Text Analyser uses for its ‘Online lookup’ feature by editing the file:

C:\Users\<username>\AppData\Local\ChineseTextAnalyser\data\online-search

This file is just a regular text file, but initially it will be missing or empty.

For each website you want to display in the list you should create an entry as follows:

[Display Name]
    link = http://www.example.com/?q=%s
    order = 100

This will create a new entry in the list called ‘Display Name’ that opens a link with the first instance of %s replaced with the word currently underneath the mouse cursor. For example, if you had performed an online lookup of the word ‘上网’, the above link would be changed to http://www.example.com/?q=上网.

To generate the correct link, all you need to do is find the appropriate query string for the website you are interested in and replace the Chinese word in the string with %s.

The order value is optional and refers to the order in which the items will appear in the list. If not specified, the item will be displayed at the end of the list.

The default list of links is:

[zdic]
    link = http://www.zdic.net/sousuo/?q=%s
    order = 100

[MDBG]
    link = https://www.mdbg.net/chindict/chindict.php?page=worddict&wdqb=%s
    order = 200

[LINE Dict]
    link = http://ce.linedict.com/dict.html#/cnen/search?query=%s
    order = 300

Which can be found in the following file:

C:\Program Files\ChineseTextAnalyser\data\online-search

Note

This file location may be different if you installed Chinese Text Analyser to a different location.