Skip to content

Commit 6812d1b

Browse files
committed
Fix code block
1 parent b3c1143 commit 6812d1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pythainlp/util/morse.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def morse_encode(text: str, lang: str = "th") -> str:
143143
144144
:Example:
145145
::
146+
146147
from pythainlp.util.morse import morse_encode
147148
print(morse_encode("แมว", lang="th"))
148149
# output: .-.- -- .--
@@ -176,6 +177,7 @@ def morse_decode(morse_text: str, lang: str = "th") -> str:
176177
177178
:Example:
178179
::
180+
179181
from pythainlp.util.morse import morse_decode
180182
print(morse_decode(".-.- -- .--", lang="th"))
181183
# output: แมว

0 commit comments

Comments
 (0)