Datasets:
Update simple_tamil.py
Browse files- simple_tamil.py +14 -14
simple_tamil.py
CHANGED
@@ -12,29 +12,30 @@
|
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
|
|
|
|
|
|
|
|
|
|
|
15 |
_CITATION = """\
|
16 |
@misc{simple_1,
|
17 |
doi = {10.48550/ARXIV.2207.13331},
|
|
|
18 |
author = {Achitha},
|
19 |
-
title = {
|
20 |
publisher = {achitha},
|
21 |
year = {2022},
|
22 |
}
|
23 |
"""
|
24 |
|
25 |
_DESCRIPTION = """\
|
26 |
-
|
27 |
"""
|
28 |
|
29 |
-
_HOMEPAGE = "
|
30 |
-
|
31 |
-
_LICENSE = "MIT"
|
32 |
|
|
|
33 |
|
34 |
-
import json
|
35 |
-
import os
|
36 |
-
|
37 |
-
import datasets
|
38 |
|
39 |
_METADATA_URLS = {
|
40 |
"train": "data/train.jsonl",
|
@@ -46,9 +47,10 @@ _URLS = {
|
|
46 |
|
47 |
}
|
48 |
|
49 |
-
class
|
|
|
50 |
|
51 |
-
|
52 |
def _info(self):
|
53 |
features = datasets.Features(
|
54 |
{
|
@@ -119,6 +121,4 @@ class simple_data(datasets.GeneratorBasedBuilder):
|
|
119 |
yield id_, result
|
120 |
id_ += 1
|
121 |
elif inside_clips_dir:
|
122 |
-
break
|
123 |
-
|
124 |
-
|
|
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
|
15 |
+
import json
|
16 |
+
import os
|
17 |
+
|
18 |
+
import datasets
|
19 |
+
|
20 |
_CITATION = """\
|
21 |
@misc{simple_1,
|
22 |
doi = {10.48550/ARXIV.2207.13331},
|
23 |
+
|
24 |
author = {Achitha},
|
25 |
+
title = {simple tamil sentences dataset Automatic Speech Recognition in Tamil},
|
26 |
publisher = {achitha},
|
27 |
year = {2022},
|
28 |
}
|
29 |
"""
|
30 |
|
31 |
_DESCRIPTION = """\
|
32 |
+
The data contains audio and trasncripts in Tamil language. The transcripts have been de-duplicated using exact match deduplication.
|
33 |
"""
|
34 |
|
35 |
+
_HOMEPAGE = ""
|
|
|
|
|
36 |
|
37 |
+
_LICENSE = "https://creativecommons.org/licenses/"
|
38 |
|
|
|
|
|
|
|
|
|
39 |
|
40 |
_METADATA_URLS = {
|
41 |
"train": "data/train.jsonl",
|
|
|
47 |
|
48 |
}
|
49 |
|
50 |
+
class simpleData(datasets.GeneratorBasedBuilder):
|
51 |
+
"""simpleData contains transcribed speech corpus for training ASR systems for Tamil language."""
|
52 |
|
53 |
+
VERSION = datasets.Version("1.1.0")
|
54 |
def _info(self):
|
55 |
features = datasets.Features(
|
56 |
{
|
|
|
121 |
yield id_, result
|
122 |
id_ += 1
|
123 |
elif inside_clips_dir:
|
124 |
+
break
|
|
|
|