You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<br />In the admin, click View Site at the top of the page to return to the main page.
8
+
<br>In the admin, click View Site at the top of the page to return to the main page.
9
9
10
10
* MDICT/Mdict dictionary:
11
-
<br />No need to add dictionaries manually. Only used to modify dictionary name, dictionary sorting, and whether to enable the dictionary.
11
+
<br>No need to add dictionaries manually. Only used to modify dictionary name, dictionary sorting, and whether to enable the dictionary.
12
12
13
13
* MDICT/built-in entries:
14
-
<br />Add entries from the built-in dictionary, support images and rich text, and support LaTex formulas.
14
+
<br>Add entries from the built-in dictionary, support images and rich text, and support LaTex formulas.
15
15
16
16
* LaTex formula insertion:
17
-
<br />Method 1. Click the latex formula button (button with the summation symbol) to insert the formula; <br />Method 2. Enter manually and wrap the formula with $.
17
+
<br>Method 1. Click the latex formula button (button with the summation symbol) to insert the formula; <br />Method 2. Enter manually and wrap the formula with $.
18
18
19
19
* Custom command:
20
-
<br />[link]The entry name to be jumped[/link]<br /> [wrap]The content to be folded[/wrap]<br /> Custom command insertion:<br /> 1. Select the text, click the L button, the text will be automatically wrapped with [link], and the selected text will be displayed as an entry jump. <br />2. Select the text, click the W button, the text will be automatically wrapped with [wrap], and the selected text will be folded.
20
+
<br> [link]The target entry[/link]
21
+
<br> [wrap]The content to be folded[/wrap]
22
+
<br> Custom command insertion:
23
+
<br> 1. Select the text, click the L button, the text will be automatically wrapped with [link], and the selected text will be displayed as an entry jump. <br />2. Select the text, click the W button, the text will be automatically wrapped with [wrap], and the selected text will be folded.
21
24
22
25
* MDICT/Online Dictionary:
23
-
<br />Add an online dictionary and replace the characters to be queried in the URL with %WORD%. Some websites do not support displaying in iframes. In this case, you need to remove the check box for opening in iframes.
26
+
<br>Add an online dictionary and replace the characters to be queried in the URL with %WORD%. Some websites do not support displaying in iframes. In this case, you need to remove the check box for opening in iframes.
24
27
25
28
* MDICT/tag
26
-
<br />Create tags for built-in terms.
29
+
<br>Create tags for built-in terms.
27
30
28
31
* MDICT/Dictionary Grouping
29
-
<br />Create a dictionary group and then add the dictionary to the group.
32
+
<br>Create a dictionary group and then add the dictionary to the group.
30
33
31
34
* Enable/disable all dictionaries
32
-
<br />On the Mdict dictionary page, check the check box before the ID, select all dictionaries on the first page, click on the right side of the execute button to select all XXX Mdict dictionaries, select EnableAllDics/DisableAllDics in the action drop-down box, and finally click the execute button.
35
+
<br>On the Mdict dictionary page, check the box before the ID, select all dictionaries on the first page, click on the right side of the execute button to select all XXX Mdict dictionaries, select EnableAllDics/DisableAllDics in the action drop-down box, and finally click the execute button.
33
36
34
37
### Built-in dictionary
35
38
@@ -49,7 +52,7 @@ Export the built-in dictionary:
49
52
50
53
51
54
```
52
-
python export_builtin_dic.py
55
+
python script/export_builtin_dic.py
53
56
```
54
57
55
58
The built-in dictionary is exported to django-mdict/export/, export.txt is the exported text, and data is the exported resource. Mathjax is not supported after export. The wrap script goldendict supports it, but mdict does not.
Copy file name to clipboardexpand all lines: doc/doc_en/doc_anki.md
-2
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,6 @@ The front side of the card can only be pasted as plain text, and the back side o
8
8
9
9
Automatic copy: Automatically copy the prefix of the currently expanded entry to the front of the card without style, and copy the content of the currently expanded entry to the back of the card with style. There is unexpanded content in the entry when copying, and it cannot be expanded after copying. If the HTML structure is complex, copying will take a long time.
10
10
11
-
Manual copy: Manually select the content to copy. When pasting, ctrl+v is to paste with style, ctrl+shift+v is to paste as plain text, or right-click the mouse and select paste or paste as plain text, and then long press on the mobile phone to bring up the right-mouse button.
12
-
13
11
Copying with styles will lose some styles. And it can only display online images, and does not support the insertion of images and audio. Anki does not support the display of base64 images. It cannot be used in browsers that do not support ckeditor5 (cefpython cannot be used).
Copy file name to clipboardexpand all lines: doc/doc_en/doc_deploy.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@
6
6
7
7
### Running on wsl
8
8
9
-
It is recommended to deploy to wsl1 under windows. Wsl2 reads windows files slower than wsl1, causing the query speed to be about 1/20-1/10 slower. In addition, the problem of IP access must be solved.
9
+
It is recommended to deploy to wsl1 on windows. Wsl2 reads Windows files slower than wsl1, causing the query speed to be about 1/20-1/10 slower. In addition, the problem of IP access must be solved.
Copy file name to clipboardexpand all lines: doc/doc_en/doc_es.md
+6-8
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ If you skip this step, the built-in standard tokenizer will be used.
37
37
38
38
4. (Skipable) It is recommended that es allocate 4g or more memory during query and indexing, modify the parameters -Xms1g and -Xmx1g in config/jvm.options, change 1 to 4, and restart es to take effect.
39
39
40
-
8.10.2 SSL needs to be turned off. The following settings in config/elasticsearch.yml are set to false, xpack.security.enabled, xpack.security.enrollment.enabled, xpack.security.http.ssl:xpack.security.transport.ssl.
40
+
8.10.2 needs to turn off SSL. The following settings in config/elasticsearch.yml are set to false, xpack.security.enabled, xpack.security.enrollment.enabled, xpack.security.http.ssl:xpack.security.transport.ssl.
41
41
42
42
5. Run elasticsearch/bin/elasticsearch.bat to start es.
43
43
@@ -53,11 +53,11 @@ If you skip this step, the built-in standard tokenizer will be used.
When performing full-text query, eselasticsearch.bat needs to be running all the time, otherwise the query will have no results. If it needs to be turned on all the time, it needs to be set to start at boot.
56
+
When performing full-text query, eselasticsearch.bat needs to be running all the time, otherwise the query will have no results.
57
57
58
58
### Install xapian
59
59
60
-
* Install using apt-get under ubuntu
60
+
* Install with apt-get on ubuntu
61
61
62
62
63
63
```
@@ -87,14 +87,12 @@ There is a problem with the phrase query of zim, and the impact is not avoided.
87
87
88
88
* Dictionary grouping and starting and stopping a certain dictionary only modify the values in the database. You need to click the Start and Stop Index button to set the index of the corresponding dictionary to on or off. Note that starting and stopping a large number of indexes may be time-consuming. It's very long (the end of the circle indicates that the start and stop are completed, and the specific progress can be viewed in the ES window prompt).
89
89
90
-
* Entries that appear frequently have high scores and will be ranked first. Therefore, a large number of encyclopedia mdx entries may appear in the front row, causing interference to the results. At this time, these dictionaries can be indexed by starting and stopping the index. No inquiry is made.
90
+
* Entries that appear frequently have high scores and will be ranked first. Therefore, a large number of encyclopedia mdx entries may appear in the front pages, causing interference to the results. At this time, these dictionaries can be indexed by starting and stopping the index. No inquiry is made.
91
91
92
-
* There are three columns of icons in front of the dictionary name in the dictionary list. The first column sets whether it is enabled, and then click the start and stop index button to apply the changes to the es index. The second column indicates whether the es index is enabled for the current dictionary. The green check mark indicates that it is enabled, and the red check mark indicates whether the es index is enabled. The cross indicates that it is closed, the third column is the current status of the index, the gray question mark indicates that it is unknown, the gray cloud indicates that es cannot be accessed, the green sun indicates that the index exists and is running, the orange moon indicates that the index exists but is closed, and the red cross indicates that the index does not exist.
92
+
* There are three columns of icons in front of the dictionary name in the dictionary list. The first column sets whether it is enabled, and then click the start and stop index button to apply the changes to the es index. The second column indicates whether the es index is enabled for the current dictionary. The green check mark indicates that it is enabled, and the red check mark indicates that is disenabled. The cross indicates that it is closed, the third column is the current status of the index, the gray question mark indicates that it is unknown, the gray cloud indicates that es cannot be accessed, the green sun indicates that the index exists and is running, the orange moon indicates that the index exists but is closed, and the red cross indicates that the index does not exist.
93
93
94
94
* You can use kibana to view specific information about elasticsearch.
95
95
96
-
* Open a dictionary in the dictionary list from the main query interface and perform a sequential query on the dictionary. Open a dictionary in the dictionary list from the full-text search page and perform a full-text search on the dictionary.
97
-
98
96
### es index operation
99
97
100
98
* Create index
@@ -202,7 +200,7 @@ discovery.type: single-node
202
200
203
201
* When creating indexes for a large number of dictionaries, it gets stuck, CPU usage is 0%, and no error is reported.
204
202
205
-
1.The reason is unknown. Try selecting a piece of text in the command line window and right-clicking to copy it. The operation may be restored.
203
+
1. Try selecting a piece of text in the command line window and right-clicking to copy it. The operation may be restored.
The function of django-mdict/mdict/readlib/src/readmdict.py is to search mdict.
99
99
100
-
django-mdict/mdict/readlib/pyx/readmdict.pyx is the cython version of readmdict_seach.py. Run build.bat or build.sh to compile. The compiled library file will be copied to /django-mdict/mdict/readlib/lib/.
100
+
django-mdict/mdict/readlib/pyx/readmdict.pyx is the cython version of readmdict_seach.py. Run build.bat or build.sh to compile. The compiled library file will be copied to /django-mdict/mdict/readlib/lib/.
django-mdict/mdict/mdict-utils/readzim.py is modified from zipply.py.
108
+
django-mdict/mdict/mdict-utils/readzim.py is modified from zimply.py.
109
109
110
110
Some terms cannot be found during the current search, and full-text search is required. Full-text search requires xapian to be installed, and manual compilation is required under windows. After running django-mdict, ZIM's built-in index will be extracted and saved as an idx file. Extracting the index is similar to file copying, and the speed depends on the maximum read and write speed of the hard disk.
django-mdict/mdict/mdict_utils/chaizi_reverse.py modifies chaizi.py so that it can be reverse-checked. For example, if you enter Shantiao, you will get Shima and Shima.
136
+
django-mdict/mdict/mdict_utils/chaizi_reverse.py modifies chaizi.py so that it can be reverse-search.
137
137
138
-
The split-character reverse search only supports common characters. The query function integrates the split-word reverse search. If you query Shanniao, it will return Shanniao, Shima, and 匌. If you query Wangba, it will return Wangba,兲, and Ding.
138
+
When you search 山鸟, you will get 山鸟, 嶋 and 嶌.
139
139
140
140
### Part retrieval and full Song font
141
141
@@ -145,15 +145,15 @@ pdawiki component retrieval and full Song font: [https://www.pdawiki.com/forum/f
145
145
146
146
Integrated component retrieval and full Song font. Since chrome does not support fonts larger than 30MB, FSung-2.ttf and FSung-F.ttf were split. The full Song font size is 138MB.
147
147
148
-
Parts retrieval is more accurate than splitting words and searching backwards. For example, if you enter Shanniao, you will get 勋, 匌 and 㠀.
148
+
Parts retrieval is more accurate than characters splitting. For example, if you enter 山鸟, you will get 山鸟, 嶋, 嶌 and 㠀.
149
149
150
150
The parts search currently contains 173334 Chinese characters.
151
151
152
152
### character conversion
153
153
154
-
Opencc-python-reimplemented is used for traditional and simplified conversion.
154
+
Opencc-python-reimplemented is used for traditional and simplified chinese conversion.
155
155
156
-
Some of the characters copied from the PDF are full-width characters. When querying, the characters will be queried once as full-width characters, and then converted into half-width characters and queried again.
156
+
Some of the characters copied from the PDF are full-width characters. When querying, the characters will be queried once as full-width characters, and then queried as half-width characters.
157
157
158
158
Japanese hiragana and katakana are automatically converted, and half-width katakana will be converted to full-width katakana.
159
159
@@ -171,11 +171,11 @@ Query history will not be saved by default. You need to modify history_enable in
171
171
172
172
The query history is stored in the history.dat file in the root directory. The first column is the time, and the second column is the query entry.
173
173
174
-
Click the Download Query History button in the settings to generate a file in csv format. Note that opening Excel directly may result in garbled characters. You need to use notepad++ or other tools to change the encoding format to UTF-8 with BOM first.
174
+
Click the Download Query History button in the settings to generate a file in csv format (utf-8).
175
175
176
-
View the word cloud generated by query history under mdict/wordcloud/, and you can select the time range in the settings in the upper right corner.
176
+
The word cloud generated by query history can be viewed on mdict/wordcloud/.
177
177
178
-
Delete the saved query history and directly delete all dat files starting with history in the root directory.
178
+
Delete all history*.dat files in the root directory to delete query history.
179
179
180
180
### Other
181
181
@@ -195,7 +195,7 @@ Keyword highlighting for full-text search is implemented using mark.js.
0 commit comments