Repository navigation
PostgreSQL 14–18 extension for OpenCC Chinese conversion.
First release.
- Vendors OpenCC 1.4.2 and links it statically; embeds the 16 built-in configs
and their 22 dictionaries in the shared library. opencc.convert()and one wrapper per config (s2t…jp2t), plus the
opencc.configsview.opencc.localize()for zh-Hans, zh-Hant, zh-CN, zh-TW, zh-HK and ja, plus the
opencc.routesview.opencc.detect()andopencc.script_stats().opencc.explain(),opencc.ambiguities()andopencc.candidates().opencc.version(),opencc.dependents()and theopencc.preloadsetting.- Regression tests, including all 556 golden cases from OpenCC 1.4.2.
Install with CREATE EXTENSION opencc;. Requires a UTF8 database. OpenCC 1.4.2 and its dictionaries are bundled; no system OpenCC is needed at runtime.