Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,43 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Clean ConceptNet Data for All Languages
|
| 6 |
+
|
| 7 |
+
## Data Details
|
| 8 |
+
|
| 9 |
+
For our project on [Retrofitting Glove embeddings for Low Resource Languages](https://github.com/pyRis/retrofitting-embeddings-lrls/tree/main?tab=readme-ov-file), we extracted all data from the [ConceptNet](https://github.com/commonsense/conceptnet5/wiki/Downloads) database for 304 languages. The extraction process involved several steps to clean and analyze the data from the official ConceptNet dump available [here](https://s3.amazonaws.com/conceptnet/downloads/2019/edges/conceptnet-assertions-5.7.0.csv.gz).
|
| 10 |
+
|
| 11 |
+
The final extracted dataset is a JSON file representing a dictionary with language codes and start and end edges for each language. Start edges represent the unique words in a target language, while end edges are the words related to the start edges through various types of relationships. The relationship types and sources are not extracted.
|
| 12 |
+
|
| 13 |
+
### Dataset Structure
|
| 14 |
+
|
| 15 |
+
cn_relations_clean.json:
|
| 16 |
+
|
| 17 |
+
``
|
| 18 |
+
{
|
| 19 |
+
'language_iso_code_1':{'start_edge_word_1':['end_edge_word_1', 'end_edge_word_2', ...], ...},
|
| 20 |
+
...
|
| 21 |
+
}
|
| 22 |
+
``
|
| 23 |
+
|
| 24 |
+
### Licensing Information
|
| 25 |
+
|
| 26 |
+
This work includes data from ConceptNet 5, which was compiled by the
|
| 27 |
+
Commonsense Computing Initiative. ConceptNet 5 is freely available under
|
| 28 |
+
the Creative Commons Attribution-ShareAlike license (CC BY SA 3.0) from
|
| 29 |
+
http://conceptnet.io.
|
| 30 |
+
|
| 31 |
+
### Citation Information
|
| 32 |
+
|
| 33 |
+
```
|
| 34 |
+
@paper{speer2017conceptnet,
|
| 35 |
+
author = {Robyn Speer and Joshua Chin and Catherine Havasi},
|
| 36 |
+
title = {ConceptNet 5.5: An Open Multilingual Graph of General Knowledge},
|
| 37 |
+
conference = {AAAI Conference on Artificial Intelligence},
|
| 38 |
+
year = {2017},
|
| 39 |
+
pages = {4444--4451},
|
| 40 |
+
keywords = {ConceptNet; knowledge graph; word embeddings},
|
| 41 |
+
url = {http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14972}
|
| 42 |
+
}
|
| 43 |
+
```
|