holylovenia
commited on
Upload ojw.py with huggingface_hub
Browse files
ojw.py
CHANGED
@@ -23,7 +23,8 @@ from typing import Dict, List, Tuple
|
|
23 |
import datasets
|
24 |
import pandas as pd
|
25 |
|
26 |
-
from
|
|
|
27 |
|
28 |
_CITATION = """\
|
29 |
@inproceedings{moeljadi-aminullah-2020-building,
|
@@ -61,7 +62,7 @@ This dataset contains Old Javanese written language aimed to build a machine rea
|
|
61 |
_HOMEPAGE = "https://github.com/davidmoeljadi/OJW"
|
62 |
|
63 |
|
64 |
-
_LICENSE =
|
65 |
|
66 |
|
67 |
_URLS = {
|
@@ -72,7 +73,7 @@ _SUPPORTED_TASKS = []
|
|
72 |
|
73 |
_SOURCE_VERSION = "1.0.0"
|
74 |
|
75 |
-
|
76 |
|
77 |
_LOCAL = False
|
78 |
|
@@ -84,10 +85,10 @@ class OJW(datasets.GeneratorBasedBuilder):
|
|
84 |
The dataset consists of 5038 rows and three columns: synset, tlemma, and tvariants."""
|
85 |
|
86 |
SOURCE_VERSION = datasets.Version(_SOURCE_VERSION)
|
87 |
-
|
88 |
|
89 |
BUILDER_CONFIGS = [
|
90 |
-
|
91 |
name="ojw_source",
|
92 |
version=SOURCE_VERSION,
|
93 |
description="ojw source schema",
|
|
|
23 |
import datasets
|
24 |
import pandas as pd
|
25 |
|
26 |
+
from seacrowd.utils.configs import SEACrowdConfig
|
27 |
+
from seacrowd.utils.constants import Licenses
|
28 |
|
29 |
_CITATION = """\
|
30 |
@inproceedings{moeljadi-aminullah-2020-building,
|
|
|
62 |
_HOMEPAGE = "https://github.com/davidmoeljadi/OJW"
|
63 |
|
64 |
|
65 |
+
_LICENSE = Licenses.CC_BY_SA_4_0.value
|
66 |
|
67 |
|
68 |
_URLS = {
|
|
|
73 |
|
74 |
_SOURCE_VERSION = "1.0.0"
|
75 |
|
76 |
+
_SEACROWD_VERSION = "2024.06.20"
|
77 |
|
78 |
_LOCAL = False
|
79 |
|
|
|
85 |
The dataset consists of 5038 rows and three columns: synset, tlemma, and tvariants."""
|
86 |
|
87 |
SOURCE_VERSION = datasets.Version(_SOURCE_VERSION)
|
88 |
+
SEACROWD_VERSION = datasets.Version(_SEACROWD_VERSION)
|
89 |
|
90 |
BUILDER_CONFIGS = [
|
91 |
+
SEACrowdConfig(
|
92 |
name="ojw_source",
|
93 |
version=SOURCE_VERSION,
|
94 |
description="ojw source schema",
|