Skip to content

Commit abea425

Browse files
Copilotwannaphong
andcommitted
Add documentation comments and complete internationalization
Co-authored-by: wannaphong <8536487+wannaphong@users.noreply.github.com>
1 parent 949c3ce commit abea425

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

thaibraille/text/core.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"ฮ":['123456'],
5151
"ฤ":['1235', '2'],
5252
"ฦ":['123', '2'],
53-
"<N>":['3456'], # UEB number prefix
53+
"<N>":['3456'], # Number prefix (used by replace_number function)
5454
"1":['1'],
5555
"2":['12'],
5656
"3":['14'],
@@ -93,9 +93,9 @@
9393
"์":['356'],
9494
"ๆ":['2'],
9595
" ":['-1'],
96-
"ฯ":['56', '23'],
97-
"ฯลฯ":['56', '123'],
98-
".":['456', '256'], # UEB
96+
"ฯ":['56', '23'], # Thai abbreviation mark
97+
"ฯลฯ":['56', '123'], # Thai abbreviation (special multi-character case)
98+
".":['456', '256'],
9999
"@":['1', '1'],
100100
"?":['456', '236'],
101101
"!":['456', '235'],

0 commit comments

Comments
 (0)