[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1037022: rime-data-jyut6ping3: Words/Characters not sorted by frequency (vocabulary file missing)



Package: rime-data-jyut6ping3
Version: 0.0~git20230209.e0295fa-1
Severity: important
Tags: patch
X-Debbugs-Cc: foka@debian.org

Recently, the Jyut6ping3 Cantonese input method became very awkward to
use because the vocabularies (words and characters) are not sorted by
frequency order.

It turns out that, starting with upstream snapshot 0.0~git20230209.e0295fa
(or thereabouts in early February 2023), upstream maintainers has switched
from using the preset vocabulary file in /usr/share/rime-data/essay.txt
(from the rime-essay package) to a Cantonese-specific vocabulary file
in /usr/share/rime-data/essay-cantonese.txt which unfortunately was not
installed in rime-data-jyut6ping3 0.0~git20230209.e0295fa-1.

Installing /usr/share/rime-data/essay-cantonese.txt resolves the issue;
see the attached install-essay-cantonese.patch.

Cheers,

Anthony Fok

-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rime-data-jyut6ping3 depends on:
ii  rime-data-cangjie5     0.0~git20210223.8dfad9e-3+b1
ii  rime-data-emoji        0.0~git20230219.68dc116-1
ii  rime-data-loengfan     0.0~git20220303.987ac95-1
ii  rime-data-luna-pinyin  0.0~git20230204.79aeae2-2
ii  rime-data-stroke       0.0~git20230204.c8bc405-1

rime-data-jyut6ping3 recommends no packages.

rime-data-jyut6ping3 suggests no packages.

-- no debconf information
diff --git a/debian/rime-data-jyut6ping3.install b/debian/rime-data-jyut6ping3.install
index 5a9f221..79fb3e9 100644
--- a/debian/rime-data-jyut6ping3.install
+++ b/debian/rime-data-jyut6ping3.install
@@ -2,3 +2,4 @@ build/jyut6ping3* usr/share/rime-data/build/
 jyut6ping3*.yaml usr/share/rime-data/
 opencc usr/share/rime-data/
 symbols_cantonese.yaml /usr/share/rime-data/
+essay-cantonese.txt /usr/share/rime-data/

Reply to: