Skip to content

Commit 35f609c

Browse files
committed
Update thai_lunar_date.py
1 parent 95d38ca commit 35f609c

File tree

2 files changed

+413
-407
lines changed

2 files changed

+413
-407
lines changed

docs/api/util.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,16 @@ Modules
268268

269269
The `pythainlp.util.spell_words.spell_word` function is designed for spelling individual words in Thai text, facilitating phonetic analysis and pronunciation guides.
270270

271+
.. autofunction:: to_lunar_date
272+
:noindex:
273+
274+
The `to_lunar_date` function focuses on converts the solar date to Thai Lunar Date.
275+
276+
.. autofunction:: th_zodiac
277+
:noindex:
278+
279+
The `th_zodiac` function is converts a Gregorian year to its corresponding Thai Zodiac name.
280+
271281
.. autoclass:: Trie
272282
:members:
273283

0 commit comments

Comments
 (0)