holylovenia
commited on
Commit
•
b8e709a
1
Parent(s):
7f86aec
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ tags:
|
|
11 |
---
|
12 |
|
13 |
|
14 |
-
The Thai Romanization dataset contains 648,241 Thai
|
15 |
|
16 |
|
17 |
## Languages
|
@@ -21,25 +21,25 @@ tha
|
|
21 |
## Supported Tasks
|
22 |
|
23 |
Transliteration
|
24 |
-
|
25 |
## Dataset Usage
|
26 |
### Using `datasets` library
|
27 |
```
|
28 |
-
|
29 |
-
|
30 |
```
|
31 |
### Using `seacrowd` library
|
32 |
```import seacrowd as sc
|
33 |
# Load the dataset using the default config
|
34 |
-
|
35 |
# Check all available subsets (config names) of the dataset
|
36 |
-
|
37 |
# Load the dataset using a specific config
|
38 |
-
|
39 |
```
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
|
44 |
## Dataset Homepage
|
45 |
|
|
|
11 |
---
|
12 |
|
13 |
|
14 |
+
The Thai Romanization dataset contains 648,241 Thai wordsthat were transliterated into English, making Thaipronounciation easier for non-native Thai speakers.This is a valuable dataset for Thai language learnersand researchers working on Thai language processing task.Each word in the Thai Romanization dataset is paired withits English phonetic representation, enabling accuratepronunciation guidance. This facilitates the learning andpractice of Thai pronunciation for individuals who may notbe familiar with the Thai script. The dataset aids in improvingthe accessibility and usability of Thai language resources,supporting applications such as speech recognition, text-to-speechsynthesis, and machine translation. It enables the development ofThai language tools that can benefit Thai learners, tourists,and those interested in Thai culture and language.
|
15 |
|
16 |
|
17 |
## Languages
|
|
|
21 |
## Supported Tasks
|
22 |
|
23 |
Transliteration
|
24 |
+
|
25 |
## Dataset Usage
|
26 |
### Using `datasets` library
|
27 |
```
|
28 |
+
from datasets import load_dataset
|
29 |
+
dset = datasets.load_dataset("SEACrowd/thai_romanization", trust_remote_code=True)
|
30 |
```
|
31 |
### Using `seacrowd` library
|
32 |
```import seacrowd as sc
|
33 |
# Load the dataset using the default config
|
34 |
+
dset = sc.load_dataset("thai_romanization", schema="seacrowd")
|
35 |
# Check all available subsets (config names) of the dataset
|
36 |
+
print(sc.available_config_names("thai_romanization"))
|
37 |
# Load the dataset using a specific config
|
38 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
39 |
```
|
40 |
+
|
41 |
+
More details on how to load the `seacrowd` library can be found [here](https://github.com/SEACrowd/seacrowd-datahub?tab=readme-ov-file#how-to-use).
|
42 |
+
|
43 |
|
44 |
## Dataset Homepage
|
45 |
|