MTL Toolbox: Difference between revisions

m
Line 9: Line 9:


== How to perform a full-text search ==
== How to perform a full-text search ==
How to search our set of Taiwanese dictionaries using "Taiwanese-English dictionaries full-text search" {{TE|}}:
How to search our set of Taiwanese dictionaries using "Taiwanese-English dictionaries full-text search" {{te|}}:


* You may select which dictionaries to search using the checkboxes. By default, all seven dictionaries are included, as well as "DFT_lk", which are examples for DFT entries.
* Select or deselect which dictionaries to search using the checkboxes. By default, all seven dictionaries are included, as well as "DFT_lk", which are DFT examples.
* Input search terms to define your search. Typical inputs include English terms, MLT-style syllables (citation tone, before tone sandhi), and number of syllables. Feel free to try any other terms that would help narrow down your search.
* Input search terms to define your search. Typical inputs include English terms, MLT-style syllables (citation tone, before tone sandhi), and number of syllables. Feel free to try any other terms that would help narrow down your search. For example:
** You searched for <code>{{te|apples}}</code>, but didn't get many results. Instead, search for <code>{{te|apple*}}</code>, to get results with any strings that start with "apple".
** If you want only results starting with MLT consonant "ph", include <code>ph*</code>: <code>{{te|apple*  ph*}}</code>
* In some cases, it is better to specify a column for a term, especially if it could match in multiple columns. To specify the column to search against, follow the column-name by a ":" character, then the term. For example:
* In some cases, it is better to specify a column for a term, especially if it could match in multiple columns. To specify the column to search against, follow the column-name by a ":" character, then the term. For example:
** Suppose you want to search for "apples". You can search for {{TE|apples}}, but don't get many results. Instead, search for {{TE|apple*}}, to get results with "apple", "apples".
** Suppose your search term is "too", which is a valid English word but is also a valid MLT syllable. If you meant the English word, type <code>en:too</code>. If you meant the MLT syllable, type <code>u:too</code> ("u" stands for "unjoined").
** Suppose your search term is "too", which is a valid English word but is also a valid MLT syllable. If you meant the English word, type <code>en:too</code>. If you meant the MLT syllable, type <code>u:too</code> ("u" stands for "unjoined").
** Suppose you want results that contain the very common MLT syllable "lie", which is also a valid word in English. Again, specify the "u" column: <code>u:lie</code>. However, the number of results is still large. If you want only four-syllable results, add <code>ns:4</code>. The entire search input is then {{TE|u:lie ns:4}}
** Suppose you want results that contain the very common MLT syllable "lie", which is also a valid word in English. Again, specify the "u" column: <code>u:lie</code>. However, the number of results is still large. If you want only four-syllable results, add <code>ns:4</code>. The entire search input is then <code>{{te|u:lie ns:4}}</code>
** See [[#Technical notes]] for more details.
** See [[#Technical notes]] for more details.


48,120

edits