Datasets:
|
Download README.md from xriverAI/urimal-triple: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/datasets/xriverAI/urimal-triple/resolve/main/README.md
- Command line
-
hf download hf://datasets/xriverAI/urimal-triple/README.md
-
curl -L -o README.md https://huggingface.co/datasets/xriverAI/urimal-triple/resolve/main/README.md
2.1 kB
| license: other | |
| license_name: cc-by-sa-2.0-kr | |
| license_link: https://creativecommons.org/licenses/by-sa/2.0/kr/ | |
| language: | |
| - ko | |
| task_categories: | |
| - text-generation | |
| - graph-ml | |
| tags: | |
| - knowledge-graph | |
| - triple-extraction | |
| - relation-extraction | |
| - korean | |
| pretty_name: 우리말샘 트리플 10k | |
| size_categories: | |
| - 10K<n<100K | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: urimal_triple.json | |
| # 우리말샘 트리플 10k | |
| 한국어 뜻풀이 문장과, 그 문장에서 뽑은 **(출발 개념, 연결관계, 도착 개념)** 트리플을 담은 데이터셋입니다. 원문 10,000개, 트리플 37,506개입니다. | |
| ## 구조 | |
| `urimal_triple.json` 파일 하나 (UTF-8). 원문 1만 개가 목록 하나에 들어 있고, 항목 하나가 원문 하나입니다. | |
| ```json | |
| [ | |
| { | |
| "text": "...", | |
| "headword": "...", | |
| "triples": [ | |
| { | |
| "head_name": "...", | |
| "head_definition": "...", | |
| "relation_name": "...", | |
| "relation_definition": "...", | |
| "relation_name_en": "...", | |
| "relation_definition_en": "...", | |
| "tail_name": "...", | |
| "tail_definition": "..." | |
| } | |
| ] | |
| }, | |
| ... | |
| ] | |
| ``` | |
| | 항목 | 의미 | | |
| |---|---| | |
| | `text` | 원문. 우리말샘 뜻풀이 | | |
| | `headword` | 원문의 표제어 | | |
| | `triples` | 원문에서 나온 트리플 목록 | | |
| | `head_name` | 출발 개념 이름 | | |
| | `head_definition` | 출발 개념 설명 | | |
| | `relation_name` | 연결관계 이름 | | |
| | `relation_definition` | 연결관계 설명 | | |
| | `relation_name_en` | 연결관계 영어 이름 | | |
| | `relation_definition_en` | 연결관계 영어 설명 | | |
| | `tail_name` | 도착 개념 이름 | | |
| | `tail_definition` | 도착 개념 설명 | | |
| ## 사용법 | |
| ```python | |
| from datasets import load_dataset | |
| ds = load_dataset("xriverAI/urimal-triple") | |
| x = ds["train"][0] | |
| print(x["text"]) | |
| for t in x["triples"]: | |
| print(t["head_name"], "-", t["relation_name"], "->", t["tail_name"]) | |
| ``` | |
| ## 출처와 라이선스 | |
| - 출처: [우리말샘](https://opendict.korean.go.kr) (국립국어원) | |
| - 라이선스: [CC BY-SA 2.0 KR](https://creativecommons.org/licenses/by-sa/2.0/kr/) | |