From 6702fb2b9f044082f69fd8574fdc29982f782672 Mon Sep 17 00:00:00 2001 From: Theppitak Karoonboonyanan Date: Fri, 3 Aug 2018 15:02:19 +0700 Subject: [PATCH] Thai: Add hyphenation exceptions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * thai-exc.pat: + Add forcing exceptions for: - ปโต~เล-มี - พรม-คด - อี-สป - เก~ร-ละ - เทส-ลา - เอส~เพรส-โซ - โซ-ฟี + Add blocking exceptions for: - ปฏิ~ป-ทา --- source/th/ChangeLog | 16 ++++++++++++++++ source/th/thai-exc.pat | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/source/th/ChangeLog b/source/th/ChangeLog index fb37dea..c47f311 100644 --- a/source/th/ChangeLog +++ b/source/th/ChangeLog @@ -1,3 +1,19 @@ +2018-08-03 Theppitak Karoonboonyanan + + Add hyphenation exceptions. + + * thai-exc.pat: + + Add forcing exceptions for: + - ปโต~เล-มี + - พรม-คด + - อี-สป + - เก~ร-ละ + - เทส-ลา + - เอส~เพรส-โซ + - โซ-ฟี + + Add blocking exceptions for: + - ปฏิ~ป-ทา + 2018-08-03 Theppitak Karoonboonyanan Update dict from libthai 0.1.28 diff --git a/source/th/thai-exc.pat b/source/th/thai-exc.pat index f45a74c..bc52241 100644 --- a/source/th/thai-exc.pat +++ b/source/th/thai-exc.pat @@ -1514,3 +1514,19 @@ ด7ชะ % Force 'โก~โบ-ริ', but not 'บ-ริ*', 'โบ-รก~เกอร์', 'โบ-ร~ชัวร์' โบ7ริ +% Block 'ป-ทา' at the end, e.g. 'ปฏิ~ป-ทา', but allow e.g. 'อุป-ทาน' +ป6ทา. +% Force 'ปโต~เล-มี' +ล7มี +% Force 'พรม-คด' +ม7คด +% Force 'อี-สป' +ี7สป +% Force 'เก~ร-ละ' +ร7ละ +% Force 'เทส-ลา', but not 'ส-ลา', 'ส-ลา~ตัน', 'เส-ลา' +ทส7ลา +% Force 'เอส~เพรส-โซ', but not 'ส-โตร์', 'ส-โนว์', 'ส-โลวัก' +ส7โซ +% Force 'โซ-ฟี' +ซ7ฟี