Publish to dataset to Paion Data organization
Browse files
.github/workflows/ci-cd.yaml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
@@ -101,6 +101,6 @@ jobs:
|
|
101 |
git add word-definition-graph-data.jsonl
|
102 |
|
103 |
git commit -m "Extract raw-wiktextract-data.jsonl into per-language wiktextract-data.jsonl and generate graph data"
|
104 |
-
git push https://
|
105 |
env:
|
106 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
1 |
+
# Copyright Paion Data
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
|
|
101 |
git add word-definition-graph-data.jsonl
|
102 |
|
103 |
git commit -m "Extract raw-wiktextract-data.jsonl into per-language wiktextract-data.jsonl and generate graph data"
|
104 |
+
git push https://paion-data:[email protected]/datasets/paion-data/wiktionary-data master:main -f
|
105 |
env:
|
106 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
README.md
CHANGED
@@ -83,7 +83,7 @@ The Wiktionary language data is available on 🤗 [Hugging Face Datasets][Huggin
|
|
83 |
|
84 |
```python
|
85 |
from datasets import load_dataset
|
86 |
-
dataset = load_dataset("
|
87 |
```
|
88 |
|
89 |
There are __two__ data subsets:
|
@@ -91,7 +91,7 @@ There are __two__ data subsets:
|
|
91 |
1. __Languages__ subset that contains extraction of a subset of supported languages:
|
92 |
|
93 |
```console
|
94 |
-
dataset = load_dataset("
|
95 |
```
|
96 |
|
97 |
The subset contains the following splits
|
@@ -108,7 +108,7 @@ There are __two__ data subsets:
|
|
108 |
2. __Graph__ subset that is useful for constructing knowledge graphs:
|
109 |
|
110 |
```console
|
111 |
-
dataset = load_dataset("
|
112 |
```
|
113 |
|
114 |
The subset contains the following splits
|
@@ -144,7 +144,7 @@ __raw Wiktextract data (JSONL, one object per line)__ option there.
|
|
144 |
Get the source code:
|
145 |
|
146 |
```console
|
147 |
-
git clone [email protected]:
|
148 |
cd wiktionary-data
|
149 |
```
|
150 |
|
@@ -190,13 +190,13 @@ The use and distribution terms for [wiktionary-data]() are covered by the [Apach
|
|
190 |
[Apache License Badge]: https://img.shields.io/badge/Apache%202.0-F25910.svg?style=for-the-badge&logo=Apache&logoColor=white
|
191 |
[Apache License, Version 2.0]: https://www.apache.org/licenses/LICENSE-2.0
|
192 |
|
193 |
-
[GitHub workflow status badge]: https://img.shields.io/github/actions/workflow/status/
|
194 |
-
[GitHub workflow status URL]: https://github.com/
|
195 |
|
196 |
[Hugging Face dataset badge]: https://img.shields.io/badge/Hugging%20Face%20Dataset-wiktionary--data-FF9D00?style=for-the-badge&logo=huggingface&logoColor=white&labelColor=6B7280
|
197 |
-
[Hugging Face dataset URL]: https://huggingface.co/datasets/
|
198 |
|
199 |
-
[Hugging Face sync status badge]: https://img.shields.io/github/actions/workflow/status/
|
200 |
-
[Hugging Face sync status URL]: https://github.com/
|
201 |
|
202 |
[Python Version Badge]: https://img.shields.io/badge/Python-3.10-FFD845?labelColor=498ABC&style=for-the-badge&logo=python&logoColor=white
|
|
|
83 |
|
84 |
```python
|
85 |
from datasets import load_dataset
|
86 |
+
dataset = load_dataset("paion-data/wiktionary-data")
|
87 |
```
|
88 |
|
89 |
There are __two__ data subsets:
|
|
|
91 |
1. __Languages__ subset that contains extraction of a subset of supported languages:
|
92 |
|
93 |
```console
|
94 |
+
dataset = load_dataset("paion-data/wiktionary-data", "Wiktionary")
|
95 |
```
|
96 |
|
97 |
The subset contains the following splits
|
|
|
108 |
2. __Graph__ subset that is useful for constructing knowledge graphs:
|
109 |
|
110 |
```console
|
111 |
+
dataset = load_dataset("paion-data/wiktionary-data", "Knowledge Graph")
|
112 |
```
|
113 |
|
114 |
The subset contains the following splits
|
|
|
144 |
Get the source code:
|
145 |
|
146 |
```console
|
147 |
+
git clone [email protected]:paion-data/wiktionary-data.git
|
148 |
cd wiktionary-data
|
149 |
```
|
150 |
|
|
|
190 |
[Apache License Badge]: https://img.shields.io/badge/Apache%202.0-F25910.svg?style=for-the-badge&logo=Apache&logoColor=white
|
191 |
[Apache License, Version 2.0]: https://www.apache.org/licenses/LICENSE-2.0
|
192 |
|
193 |
+
[GitHub workflow status badge]: https://img.shields.io/github/actions/workflow/status/paion-data/wiktionary-data/ci-cd.yaml?branch=master&style=for-the-badge&logo=github&logoColor=white&label=CI/CD
|
194 |
+
[GitHub workflow status URL]: https://github.com/paion-data/wiktionary-data/actions/workflows/ci-cd.yaml
|
195 |
|
196 |
[Hugging Face dataset badge]: https://img.shields.io/badge/Hugging%20Face%20Dataset-wiktionary--data-FF9D00?style=for-the-badge&logo=huggingface&logoColor=white&labelColor=6B7280
|
197 |
+
[Hugging Face dataset URL]: https://huggingface.co/datasets/paion-data/wiktionary-data
|
198 |
|
199 |
+
[Hugging Face sync status badge]: https://img.shields.io/github/actions/workflow/status/paion-data/wiktionary-data/ci-cd.yaml?branch=master&style=for-the-badge&logo=github&logoColor=white&label=Hugging%20Face%20Sync%20Up
|
200 |
+
[Hugging Face sync status URL]: https://github.com/paion-data/wiktionary-data/actions/workflows/ci-cd.yaml
|
201 |
|
202 |
[Python Version Badge]: https://img.shields.io/badge/Python-3.10-FFD845?labelColor=498ABC&style=for-the-badge&logo=python&logoColor=white
|
extract.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
|
|
1 |
+
# Copyright Paion Data
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
tests/wiktionary/wiktextract/test_german.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
|
|
1 |
+
# Copyright Paion Data
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
tests/wiktionary/wiktextract/test_parse.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
|
|
1 |
+
# Copyright Paion Data
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
wiktionary/wiktextract/extract.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
|
|
1 |
+
# Copyright Paion Data
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
wiktionary/wiktextract/german.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
|
|
1 |
+
# Copyright Paion Data
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
wiktionary/wiktextract/parse.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
|
|
1 |
+
# Copyright Paion Data
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|