Update README.md
Browse files
README.md
CHANGED
|
@@ -2,9 +2,76 @@
|
|
| 2 |
license: cc-by-sa-4.0
|
| 3 |
language:
|
| 4 |
- tig
|
|
|
|
| 5 |
---
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: cc-by-sa-4.0
|
| 3 |
language:
|
| 4 |
- tig
|
| 5 |
+
|
| 6 |
---
|
| 7 |
+
|
| 8 |
+
# Tigre Data Lexicon (tigre-data-lexicon)
|
| 9 |
+
|
| 10 |
+
### Overview
|
| 11 |
+
|
| 12 |
+
This repository contains the **Tigre Data Lexicon**, a specialized linguistic resource designed to support the development of speech and language technologies for **Tigre**, an under-resourced Semitic language. This lexicon serves as a foundational component for bridging the gap between written text and spoken language, facilitating advancements in Artificial Intelligence (AI) and Natural Language Processing (NLP) for the Tigre community.
|
| 13 |
+
The primary file in this repository, `tigre-data-lexicon.txt`, provides a structured mapping of Tigre vocabulary, which is essential for training and refining acoustic and language models.
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
## Key Benefits & Applications
|
| 17 |
+
|
| 18 |
+
This lexicon provides critical infrastructure for various speech technology tasks. Its primary benefits include:
|
| 19 |
+
|
| 20 |
+
- **Improving Text-to-Speech (TTS) Systems:** Enhances the naturalness and intelligibility of synthesized speech by ensuring accurate pronunciation.
|
| 21 |
+
- **Consistent Phonetic Mapping:** Establishes a standard for phonetic representation, reducing ambiguity in grapheme-to-phoneme conversion.
|
| 22 |
+
- **Enhancing Speech Recognition (ASR):** Improves the accuracy of Automated Speech Recognition systems by providing a verified vocabulary baseline.
|
| 23 |
+
- **Low-Resource Technology Development:** Serves as a vital building block for creating tools in a low-resource linguistic environment.
|
| 24 |
+
- **Broad Application Utility:** Enables integration across diverse speech applications, from virtual assistants to educational tools.
|
| 25 |
+
- **Linguistic Research Support:** Assists researchers in analyzing the phonological and morphological structures of the Tigre language.
|
| 26 |
+
- **Scalable Vocabulary Coverage:** Designed to allow for easy expansion, accommodating larger vocabularies and domain-specific terminology as data grows.
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## Dataset Structure
|
| 30 |
+
The repository is organized as follows:
|
| 31 |
+
|
| 32 |
+
```text
|
| 33 |
+
tigre-data-lexicon/
|
| 34 |
+
├── README.md # This file
|
| 35 |
+
└── tigre-data-lexicon.txt # The core lexicon file
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## File Description
|
| 39 |
+
|
| 40 |
+
**`tigre-data-lexicon.txt`**: A text file containing the lexicon entries. Each line typically maps a word to its phonetic decomposition or pronunciation, suitable for direct ingestion by training scripts (e.g., Kaldi, Espnet, or Coqui).
|
| 41 |
+
|
| 42 |
+
## How to Use
|
| 43 |
+
|
| 44 |
+
Manual Download
|
| 45 |
+
You can clone this repository or download the files directly:
|
| 46 |
+
|
| 47 |
+
```bash
|
| 48 |
+
git clone https://huggingface.co/BeitTigreAI/tigre-data-lexicon
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## Loading the Lexicon (Python Example)
|
| 52 |
+
|
| 53 |
+
You can parse the lexicon file using standard Python I/O:
|
| 54 |
+
|
| 55 |
+
```python
|
| 56 |
+
def load_lexicon(file_path):
|
| 57 |
+
lexicon = {}
|
| 58 |
+
with open(file_path, 'r', encoding='utf-8') as f:
|
| 59 |
+
for line in f:
|
| 60 |
+
parts = line.strip().split()
|
| 61 |
+
if len(parts) >= 2:
|
| 62 |
+
word = parts[0]
|
| 63 |
+
phonemes = parts[1:]
|
| 64 |
+
lexicon[word] = phonemes
|
| 65 |
+
return lexicon
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
## Example Usage
|
| 69 |
+
|
| 70 |
+
```python
|
| 71 |
+
lexicon_data = load_lexicon("tigre-data-lexicon.txt")
|
| 72 |
+
print(f"Loaded {len(lexicon_data)} entries.")
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
## Licensing
|
| 76 |
+
|
| 77 |
+
This dataset is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).
|