Update emotion_english.py
Browse files- emotion_english.py +5 -5
emotion_english.py
CHANGED
|
@@ -13,15 +13,15 @@
|
|
| 13 |
# See the License for the specific language governing permissions and
|
| 14 |
# limitations under the License.
|
| 15 |
# Version 5-0-pro.
|
| 16 |
-
"""
|
| 17 |
|
| 18 |
|
| 19 |
import datasets
|
| 20 |
|
| 21 |
|
| 22 |
_DESCRIPTION = """\
|
| 23 |
-
The
|
| 24 |
-
The dataset can be used for tasks such as
|
| 25 |
"""
|
| 26 |
|
| 27 |
|
|
@@ -36,8 +36,8 @@ _URLS = {
|
|
| 36 |
_LABEL_MAPPING = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8}
|
| 37 |
|
| 38 |
|
| 39 |
-
class
|
| 40 |
-
"""
|
| 41 |
|
| 42 |
VERSION = datasets.Version("1.0.0")
|
| 43 |
|
|
|
|
| 13 |
# See the License for the specific language governing permissions and
|
| 14 |
# limitations under the License.
|
| 15 |
# Version 5-0-pro.
|
| 16 |
+
"""emotion_english dataset: An emotion dataset of wilde's children's literature"""
|
| 17 |
|
| 18 |
|
| 19 |
import datasets
|
| 20 |
|
| 21 |
|
| 22 |
_DESCRIPTION = """\
|
| 23 |
+
The emotion_english dataset is an emotion dataset annotated by language experts under a project. \
|
| 24 |
+
The dataset can be used for tasks such as English emotion classification and identification.
|
| 25 |
"""
|
| 26 |
|
| 27 |
|
|
|
|
| 36 |
_LABEL_MAPPING = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8}
|
| 37 |
|
| 38 |
|
| 39 |
+
class emotionenglish(datasets.GeneratorBasedBuilder):
|
| 40 |
+
"""emotion_english dataset: An emotion dataset of wilde's children's literature"""
|
| 41 |
|
| 42 |
VERSION = datasets.Version("1.0.0")
|
| 43 |
|