Skip to content

Commit f5396fa

Browse files
committed
Change thai_pangram
1 parent 1efe404 commit f5396fa

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

pythainlp/__init__.py

+13-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,19 @@
3737
thai_characters = "".join(
3838
[thai_letters, thai_punctuations, thai_digits, thai_symbols]
3939
)
40-
thai_pangram = "นายสังฆภัณฑ์ เฮงพิทักษ์ฝั่ง ผู้เฒ่าซึ่งมีอาชีพเป็นฅนขายฃวด ถูกตำรวจปฏิบัติการจับฟ้องศาล ฐานลักนาฬิกาคุณหญิงฉัตรชฎา ฌานสมาธิ"
41-
40+
# Thai pangram by Sungsit Sawaiwan
41+
# CC BY-SA License
42+
# Source: https://fontuni.com/articles/2015-07-12-thai-poetgram.html
43+
thai_pangram = """กีฬาบังลังก์ ฿๑,๒๓๔,๕๖๗,๘๙๐
44+
๏ จับฅอคนบั่นต้อง อาญา
45+
ขุดฆ่าโคตรฃัตติยา ซ่านม้วย
46+
ธรรมฤๅผ่อนรักษา ใจชั่ว โฉดแฮ
47+
สืบอยู่เต็มศึกด้วย ฝุ่นฟ้ากีฬา กามฦๅ ฯ
48+
๏ กตัญญูไป่พร้อม ปฐมฌาน
49+
เกมส๎วัฒน์ปฏิภาณ ห่อนล้ำ
50+
ทฤษฎีถ่อยๆ สังหาร เกณฑ์โทษ
51+
โกรธจี๊ดจ๋อยจ่มถ้ำ อยู่เฝ้า “อตฺตา” ๚ะ๛
52+
๑๒ กรกฎาคม ๒๕๕๘"""
4253

4354
from pythainlp.soundex import soundex
4455
from pythainlp.spell import correct, spell

0 commit comments

Comments
 (0)