Update README.md
Browse files
README.md
CHANGED
|
@@ -1,163 +1,166 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: gfdl
|
| 3 |
-
task_categories:
|
| 4 |
-
- text-classification
|
| 5 |
-
- token-classification
|
| 6 |
-
language:
|
| 7 |
-
- es
|
| 8 |
-
tags:
|
| 9 |
-
- spanish
|
| 10 |
-
- morphology
|
| 11 |
-
- lemmatization
|
| 12 |
-
- wiktionary
|
| 13 |
-
- nlp
|
| 14 |
-
- linguistics
|
| 15 |
-
size_categories:
|
| 16 |
-
- 100K<n<1M
|
| 17 |
-
dataset_info:
|
| 18 |
-
features:
|
| 19 |
-
- name: word
|
| 20 |
-
dtype: string
|
| 21 |
-
- name: original form
|
| 22 |
-
dtype: string
|
| 23 |
-
config_name: default
|
| 24 |
-
splits:
|
| 25 |
-
- name: train
|
| 26 |
-
num_bytes: 24985600
|
| 27 |
-
num_examples: 760159
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
- **
|
| 49 |
-
- **
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
- **
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
``
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
- **
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
}
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
|
|
|
|
|
|
|
|
|
| 163 |
This dataset was created by extracting and processing data from Wiktionary. Thanks to all Wiktionary contributors who have provided the underlying linguistic data.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: gfdl
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
- token-classification
|
| 6 |
+
language:
|
| 7 |
+
- es
|
| 8 |
+
tags:
|
| 9 |
+
- spanish
|
| 10 |
+
- morphology
|
| 11 |
+
- lemmatization
|
| 12 |
+
- wiktionary
|
| 13 |
+
- nlp
|
| 14 |
+
- linguistics
|
| 15 |
+
size_categories:
|
| 16 |
+
- 100K<n<1M
|
| 17 |
+
dataset_info:
|
| 18 |
+
features:
|
| 19 |
+
- name: word
|
| 20 |
+
dtype: string
|
| 21 |
+
- name: original form
|
| 22 |
+
dtype: string
|
| 23 |
+
config_name: default
|
| 24 |
+
splits:
|
| 25 |
+
- name: train
|
| 26 |
+
num_bytes: 24985600
|
| 27 |
+
num_examples: 760159
|
| 28 |
+
- name: only_adj_noun_verb
|
| 29 |
+
download_size: 12492800
|
| 30 |
+
dataset_size: 24985600
|
| 31 |
+
configs:
|
| 32 |
+
- config_name: default
|
| 33 |
+
data_files:
|
| 34 |
+
- split: train
|
| 35 |
+
path: train.csv
|
| 36 |
+
- split: only_adj_noun_verb
|
| 37 |
+
path: es_word_forms_only_adj.noun.verb.csv.csv
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
# Spanish Word Forms and Lemmas Dataset
|
| 41 |
+
|
| 42 |
+
## Dataset Description
|
| 43 |
+
|
| 44 |
+
This dataset contains Spanish word forms paired with their corresponding lemmas (original forms), extracted from Wiktionary. It provides a comprehensive mapping of inflected Spanish words to their base forms, making it valuable for morphological analysis, lemmatization tasks, and Spanish NLP applications.
|
| 45 |
+
|
| 46 |
+
### Dataset Summary
|
| 47 |
+
|
| 48 |
+
- **Language**: Spanish (es)
|
| 49 |
+
- **Task**: Lemmatization, Morphological Analysis
|
| 50 |
+
- **Source**: Wiktionary
|
| 51 |
+
- **Size**: ~760K word form pairs
|
| 52 |
+
- **Format**: CSV with two columns: `word` (inflected form) and `original_form` (lemma)
|
| 53 |
+
|
| 54 |
+
### Supported Tasks
|
| 55 |
+
|
| 56 |
+
- **Lemmatization**: Map inflected words to their base forms
|
| 57 |
+
- **Morphological Analysis**: Study Spanish word inflection patterns
|
| 58 |
+
- **Text Preprocessing**: Normalize Spanish text for NLP pipelines
|
| 59 |
+
- **Language Model Training**: Pre-training data for Spanish morphology understanding
|
| 60 |
+
|
| 61 |
+
## Dataset Structure
|
| 62 |
+
|
| 63 |
+
### Data Instances
|
| 64 |
+
|
| 65 |
+
Each instance contains:
|
| 66 |
+
- `word`: An inflected Spanish word form
|
| 67 |
+
- `original_form`: The corresponding lemma or base form
|
| 68 |
+
|
| 69 |
+
Example:
|
| 70 |
+
```json
|
| 71 |
+
{
|
| 72 |
+
"word": "adoquinás",
|
| 73 |
+
"original_form": "adoquinar"
|
| 74 |
+
}
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
### Data Fields
|
| 78 |
+
|
| 79 |
+
- `word` (string): The inflected or conjugated form of a Spanish word
|
| 80 |
+
- `original_form` (string): The lemma or dictionary form of the word
|
| 81 |
+
|
| 82 |
+
### Data Splits
|
| 83 |
+
|
| 84 |
+
| Split | Examples |
|
| 85 |
+
|-------|----------|
|
| 86 |
+
| train | 760,159 |
|
| 87 |
+
|
| 88 |
+
## Dataset Creation
|
| 89 |
+
|
| 90 |
+
### Source Data
|
| 91 |
+
|
| 92 |
+
This dataset was extracted from Wiktionary, specifically focusing on Spanish language entries. Wiktionary is a collaborative, multilingual dictionary project that provides comprehensive morphological information for words across many languages.
|
| 93 |
+
|
| 94 |
+
### Data Collection Process
|
| 95 |
+
|
| 96 |
+
The data was systematically extracted from Wiktionary's Spanish language entries, capturing the relationships between inflected word forms and their corresponding lemmas. This includes:
|
| 97 |
+
|
| 98 |
+
- Verb conjugations (all tenses, moods, and persons)
|
| 99 |
+
- Noun and adjective inflections (gender and number variations)
|
| 100 |
+
- Diminutives, augmentatives, and other morphological variations
|
| 101 |
+
|
| 102 |
+
### Data Quality
|
| 103 |
+
|
| 104 |
+
- The dataset provides high-quality mappings based on Wiktionary's editorial standards
|
| 105 |
+
- Each word form is mapped to its appropriate lemma
|
| 106 |
+
- Covers a wide range of Spanish morphological patterns
|
| 107 |
+
|
| 108 |
+
## Uses
|
| 109 |
+
|
| 110 |
+
### Direct Use
|
| 111 |
+
|
| 112 |
+
This dataset can be directly used for:
|
| 113 |
+
- Training lemmatization models for Spanish
|
| 114 |
+
- Building morphological analyzers
|
| 115 |
+
- Creating Spanish text preprocessing pipelines
|
| 116 |
+
- Studying Spanish morphological patterns
|
| 117 |
+
|
| 118 |
+
### Downstream Tasks
|
| 119 |
+
|
| 120 |
+
- **Named Entity Recognition**: Improve NER by normalizing word forms
|
| 121 |
+
- **Information Retrieval**: Enhance search by matching different word forms
|
| 122 |
+
- **Machine Translation**: Better handling of Spanish morphology
|
| 123 |
+
- **Text Classification**: Normalize features for better classification performance
|
| 124 |
+
|
| 125 |
+
## Considerations for Use
|
| 126 |
+
|
| 127 |
+
### Social Impact of Dataset
|
| 128 |
+
|
| 129 |
+
This dataset supports the development of Spanish NLP tools, which can:
|
| 130 |
+
- Improve accessibility of Spanish-language technology
|
| 131 |
+
- Support educational applications for Spanish learners
|
| 132 |
+
- Enable better processing of Spanish text in various domains
|
| 133 |
+
|
| 134 |
+
### Limitations
|
| 135 |
+
|
| 136 |
+
- Limited to words present in Wiktionary (may not include very recent terms or highly specialized vocabulary)
|
| 137 |
+
- Focuses on standard Spanish forms (may not capture all dialectal variations)
|
| 138 |
+
- Does not include semantic information beyond morphological relationships
|
| 139 |
+
|
| 140 |
+
## Additional Information
|
| 141 |
+
|
| 142 |
+
### Dataset Curators
|
| 143 |
+
|
| 144 |
+
This dataset was curated from Wiktionary data focusing on Spanish morphological relationships.
|
| 145 |
+
|
| 146 |
+
### Licensing Information
|
| 147 |
+
|
| 148 |
+
This dataset is released under the MIT License, following Wiktionary's open data principles.
|
| 149 |
+
|
| 150 |
+
### Citation Information
|
| 151 |
+
|
| 152 |
+
If you use this dataset in your research, please cite:
|
| 153 |
+
|
| 154 |
+
```bibtex
|
| 155 |
+
@dataset{spanish_word_forms_wiktionary,
|
| 156 |
+
title={Spanish Word Forms and Lemmas Dataset from Wiktionary},
|
| 157 |
+
author={Wiktionary Contributors},
|
| 158 |
+
year={2024},
|
| 159 |
+
publisher={Hugging Face},
|
| 160 |
+
url={https://huggingface.co/datasets/your-username/spanish-word-forms-wiktionary}
|
| 161 |
+
}
|
| 162 |
+
```
|
| 163 |
+
|
| 164 |
+
### Contributions
|
| 165 |
+
|
| 166 |
This dataset was created by extracting and processing data from Wiktionary. Thanks to all Wiktionary contributors who have provided the underlying linguistic data.
|