Update README.md
Browse files
README.md
CHANGED
|
@@ -324,9 +324,10 @@ license: cc-by-4.0
|
|
| 324 |
---
|
| 325 |
# High Quality Multilingual Sentences
|
| 326 |
|
| 327 |
-
This dataset contains multilingual sentences derived from the [agentlans/LinguaNova](https://huggingface.co/datasets/agentlans/LinguaNova) dataset.
|
|
|
|
| 328 |
|
| 329 |
-
Example
|
| 330 |
```json
|
| 331 |
{
|
| 332 |
"text": "امام جمعه اصفهان گفت: میزان نیاز آب شرب اصفهان ۱۱.۵ متر مکعب است که تمام استان اصفهان را پوشش میدهد و نسبت به قبل از انقلاب یکی از پیشرفتها در حوزه آب بوده است.",
|
|
@@ -341,9 +342,9 @@ Fields:
|
|
| 341 |
|
| 342 |
## Configurations
|
| 343 |
|
| 344 |
-
Each individual language is available as a separate configuration, such as `ar`, `en`
|
| 345 |
|
| 346 |
-
Example
|
| 347 |
```json
|
| 348 |
{
|
| 349 |
"text": "Ne vienas asmuo yra apsaugotas nuo parazitų atsiradimo organizme."
|
|
@@ -356,7 +357,7 @@ Example Row (from a language-specific config):
|
|
| 356 |
|
| 357 |
The `all` split was downloaded from the [agentlans/LinguaNova](https://huggingface.co/datasets/agentlans/LinguaNova) dataset.
|
| 358 |
1. **Text Cleaning**: Raw text was cleaned by removing HTML tags, emails, emojis, hashtags, user handles, and URLs. Unicode characters and whitespace were normalized, and hyphenated words were handled to ensure consistency.
|
| 359 |
-
2. **Sentence Segmentation**: Text was segmented into individual sentences using ICU
|
| 360 |
3. **Deduplication**: Duplicate entries were removed to maintain uniqueness and prevent redundancy in the dataset.
|
| 361 |
|
| 362 |
### Language Detection
|
|
|
|
| 324 |
---
|
| 325 |
# High Quality Multilingual Sentences
|
| 326 |
|
| 327 |
+
- This dataset contains multilingual sentences derived from the [agentlans/LinguaNova](https://huggingface.co/datasets/agentlans/LinguaNova) dataset.
|
| 328 |
+
- It includes 1.58 million rows across 51 different languages, each in its own configuration.
|
| 329 |
|
| 330 |
+
Example row (from the `all` config):
|
| 331 |
```json
|
| 332 |
{
|
| 333 |
"text": "امام جمعه اصفهان گفت: میزان نیاز آب شرب اصفهان ۱۱.۵ متر مکعب است که تمام استان اصفهان را پوشش میدهد و نسبت به قبل از انقلاب یکی از پیشرفتها در حوزه آب بوده است.",
|
|
|
|
| 342 |
|
| 343 |
## Configurations
|
| 344 |
|
| 345 |
+
Each individual language is available as a separate configuration, such as `ar`, `en`. These configurations contain only sentences identified to be of that specific language by both the fastText and gcld3 models.
|
| 346 |
|
| 347 |
+
Example row (from a language-specific config):
|
| 348 |
```json
|
| 349 |
{
|
| 350 |
"text": "Ne vienas asmuo yra apsaugotas nuo parazitų atsiradimo organizme."
|
|
|
|
| 357 |
|
| 358 |
The `all` split was downloaded from the [agentlans/LinguaNova](https://huggingface.co/datasets/agentlans/LinguaNova) dataset.
|
| 359 |
1. **Text Cleaning**: Raw text was cleaned by removing HTML tags, emails, emojis, hashtags, user handles, and URLs. Unicode characters and whitespace were normalized, and hyphenated words were handled to ensure consistency.
|
| 360 |
+
2. **Sentence Segmentation**: Text was segmented into individual sentences using ICU's `BreakIterator` class, which efficiently processed different languages and punctuation.
|
| 361 |
3. **Deduplication**: Duplicate entries were removed to maintain uniqueness and prevent redundancy in the dataset.
|
| 362 |
|
| 363 |
### Language Detection
|