-
Notifications
You must be signed in to change notification settings - Fork 285
Labels
enhancementenhance functionalitiesenhance functionalities
Milestone
Description
Add details= option for corpus.common.provinces(), to return romanized and abbreviated names of the provinces in Thailand.
Use data from pythainlp/corpus/thailand_provinces_th.csv
If details=False
- return
frozenset - members are names of provinces in Thailand, in Thai language
- no order (as it is a set)
If details=True
- return
list - members are
dictwith these fieldsname_th- full name in Thaiabbr_th- abbreviated name in Thainame_en- full name, romanized ("English")abbr_en- abbreviated name, from the romanized name
- ordered by the original order in
pythainlp/corpus/thailand_provinces_th.csv
wannaphong
Metadata
Metadata
Assignees
Labels
enhancementenhance functionalitiesenhance functionalities