Skip to content

Commit 188904f

Browse files
authored
Merge pull request #1045 from PyThaiNLP/add-thai_pangram
Add Thai pangram text
2 parents be5518d + f5396fa commit 188904f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

pythainlp/__init__.py

+13-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,19 @@
3737
thai_characters = "".join(
3838
[thai_letters, thai_punctuations, thai_digits, thai_symbols]
3939
)
40-
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+
๑๒ กรกฎาคม ๒๕๕๘"""
4153

4254
from pythainlp.soundex import soundex
4355
from pythainlp.spell import correct, spell

0 commit comments

Comments
 (0)