taigi-sandhi-visualization

Highlights tone sandhi changes in Taiwanese romanization on the MOE dictionary site. Changed tones are marked in red with a tooltip showing possible base tone → sandhi tone.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Аўтар
hey0wing
Усталяванняў за дзень
0
Усяго ўсталяванняў
2
Рэйтынг
0 0 0
Версія
1.5
Створаны
15.08.2025
Абноўлены
05.09.2025
Памер
20.4 КБ
Ліцэнзія
MIT
Ужываецца на

台語變調視像化 taigi-sandhi-visualization

A browser extension/userscript that highlights tone sandhi changes in Taiwanese Hokkien romanization on the MOE Taiwanese Dictionary.

example

Features

  • Tone Sandhi Highlighting:
    • Automatically detects and highlights tone changes in Taiwanese romanization text on the MOE dictionary site.
    • Tone changes for every syllable except for the last one in a phrase.
    • Tone sandhi for three common accents (Referenced from link1, link2)
      • 南部腔 Southern (偏漳腔 Zhangzhou-leaning)
      • 北部腔 Northern (偏泉腔 Quanzhou-leaning)
      • 海口腔 Seaport / Coastal (泉州腔 Quanzhou)
  • Color Coding:
    • Red: Normal tone sandhi.
    • Blue: Tone sandhi before the suffix.
    • Green: Neutral tones.
  • Tooltips: Clicking a highlighted syllable to view the tone sandhi diagram.

Installation

Option 1: Browser Extension

Option 2: Userscript Manager

Platform Supported Browsers Userscript Manager
Desktop Chrome, Brave, Safari, Firefox, Edge Tampermonkey, Violentmonkey, Greasemonkey
Android Firefox, Edge Tampermonkey, Violentmonkey
iOS Safari Userscript (Free), Tampermonkey (USD 2.99)
  1. Install via Userscript Manager (Alternative):
    • Follow the Greasy Fork tutorial to install one.
      • Or install Tampermonkey (Recommended), Violentmonkey or Greasemonkey on your own
    • Add the Userscript:
      • Greasy Fork (Recommended): Click Here and install the script directly by clicking "Install this script".
      • Otherwise, copy the script directly from taigi-sandhi-visualization.user.js, and paste the code.

Planned Improvements

  • Add Chao's Tone letter / Pitch contour for visualization
    • Real-time audio conversion(?)

Credits

License

This project is licensed under the MIT License.