MTL Toolbox: Difference between revisions

From Taioaan Wiki
Jump to navigation Jump to search
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:


== How to search ==
== How to search ==
* try typing in or clicking these words (monosyllables from [[Practical Taiwanese Conversation]]):
=== Typical usage ===
* typical word is two syllables [[tone sandhi|joined together]], for example:
** {{x|køefcie}}
* the Toolbox "unjoins" words by database lookup
* the results from historical works should be about the same as if searching:
** {{x|køea cie}}
 
* more examples:
** {{x|chviafmng}}
** {{x|tøsia}}
** {{x|Taioaan}}
 
=== Monosyllable ===
* for a [[monosyllable]], exact matches are displayed by default, for example ([[Practical Taiwanese Conversation|PTC]]):
** {{x|goar}}
** {{x|goar}}
** {{x|lie}}
** {{x|lie}}
** {{x|ee}}
** {{x|ee}}


* for a monosyllable, exact matches are displayed by default
* to see more matching entries, click "Khahzøe"
* to see more matching entries, click "Khahzøe"
* try more than one syllable:
** {{x|chviar mng}}
** {{x|tøf sia}}
** {{x|køea cie}}
* try the following words (they consist of [[tone sandhi|joined syllables]]). results from non-MLT dictionaries should be about the same as respective unjoined syllables above
** {{x|chviafmng}}
** {{x|tøsia}}
** {{x|køefcie}}


== Data ==
== Data ==
Line 40: Line 42:
* ''[[Taibuun/Hoabuun Svoarterng Sutiern]]''
* ''[[Taibuun/Hoabuun Svoarterng Sutiern]]''


== Technical Notes ==
== Technical notes ==
* [[SQLite]]: [https://sqlite.org/fts3.html FTS4] for full-text search
* [[SQLite]]: [https://sqlite.org/fts3.html FTS4] for full-text search
* Token prefix queries: use the asterisk ('*') at the end. Similar to {{w|wildcard character}} in [[zokgiap hexthorng|operating systems]] (normal wildcard search not currently supported by FTS)
* Token prefix queries: use the asterisk ('*') at the end. Similar to {{w|wildcard character}} in [[zokgiap hexthorng|operating systems]] (normal wildcard search not currently supported by FTS)
** Example: {{TE|Taioa*}}
** Example: {{x|Taioa*}}
* Specify a column-name followed by a colon (':')
* Specify a column-name followed by a colon (':')
** Example: {{dft|thj:頭*}} (you should see all DFT entries starting with this Harnji)
** Example: {{dft|thj:頭*}} (you should see all DFT entries starting with this Harnji)
Line 49: Line 51:
** Example: {{x|^thaau}}
** Example: {{x|^thaau}}


== See Also ==
== See also ==
* [[Taiwanese-English dictionaries]]
* [[Taiwanese-English dictionaries]]



Revision as of 17:36, 24 March 2024

MTL Toolbox (https://learntaiwanese.org/MTLtoolbox/about.html) is software and data to help work with written Taiwanese using the MTL writing system and other romanizations for Taiwanese.

Features

How to search

Typical usage

  • typical word is two syllables joined together, for example:
  • the Toolbox "unjoins" words by database lookup
  • the results from historical works should be about the same as if searching:

Monosyllable

  • to see more matching entries, click "Khahzøe"

Data

Local copies of:

We also support searching other websites with conversion to POJ/TL:

Technical notes

  • SQLite: FTS4 for full-text search
  • Token prefix queries: use the asterisk ('*') at the end. Similar to wildcard character in operating systems (normal wildcard search not currently supported by FTS)
  • Specify a column-name followed by a colon (':')
    • Example: thj:頭* (you should see all DFT entries starting with this Harnji)
  • Add carat ^ before token to require token to be very first token in its column

See also

Acknowledgements