Kashmiri-English Parallel Corpus
This dataset is a parallel corpus of Kashmiri and English, consisting of around 270K sentence pairs(also contains filtered already available corpus). This dataset can be utilized for various NLP tasks, including machine translation, alignment studies, and linguistic research.
Corpus Structure
The dataset is organized into several directories to differentiate between raw, cleaned, and processed data:
Raw Data: This contains the unprocessed, original text files in Kashmiri and English. The raw data includes all original content, including extra spaces, punctuation, or any other noise that has not been filtered out.
Cleaned Data: These files have been preprocessed to remove extra spaces, punctuation, or any kind of noise. This version is more suitable for immediate use in NLP tasks where clean data is required.
Processed Data: JSON files containing the aligned Kashmiri-English sentence pairs, formatted for use in machine translation and other NLP applications.
Corpus Details
Size: Around 270,000 sentence pairs Sources: The data is sourced from three different origins: Filtered from existing data Manually created OCR scanned
Dataset Structure
The dataset is organized into the following structure: KoshurCorpus/ βββ Raw Data/ β βββ Filtered(R)/ β β βββ English.txt β β βββ Kashmiri.txt β βββ Manual(R)/ β β βββ English.txt β β βββ Kashmiri.txt β βββ OCR Scanned(R)/ β βββ English.txt β βββ Kashmiri.txt βββ Cleaned Data/ β βββ Combined Cleaned/ β β βββ English.txt β β βββ Kashmiri.txt β βββ Filtered(C)/ β β βββ English_cleaned.txt β β βββ Kashmiri_cleaned.txt β βββ Manual(C)/ β β βββ English_cleaned.txt β β βββ Kashmiri_cleaned.txt β βββ OCR Scanned(C)/ β βββ English_cleaned.txt β βββ Kashmiri_cleaned.txt βββ Processed Corpus/ β βββ Eng-Kas.jsonl β βββ Kas-Eng.jsonl
Citation and Usage Policy
If you use this dataset in your research or tools, please provide proper acknowledgment by citing it as follows:
Qumar, S.M.U., Azim, M. & Quadri, S.M.K. Addressing the data gap: building a parallel corpus for Kashmiri language. Int. J. Inf. Tecnol. (2024). https://doi.org/10.1007/s41870-024-01979-8
Usage Terms:
For Research and Tool Development: You are welcome to use this dataset for research purposes or to build tools and applications, provided you properly cite the work as indicated above.
Derivative Works or Extensions: If you intend to use this dataset as a base for creating derived datasets, multilingual corpora, or making any substantial modifications or extensions, you must contact us for explicit permission prior to use.
Data Dictionary
The data_dictionary.json
file included in this repository provides a detailed description of the structure and meaning of each field within the processed JSON files. This is essential for understanding how to use the dataset effectively in NLP tasks.
Example Usage
An example script (example_usage.py
) are provided in this repository to demonstrate how to load, preprocess, and use the dataset.
Using the Python Script
To use the example Python script, simply run:
python example_usage.py
Additional Scripts
cleaning_Data.py: Cleans raw text data. Convert to JSON file.py: Converts text files to JSON format. Overall Data Statistics.py: Prints overall statistics of the dataset. Print duplicate alignments.py: Identifies and prints redundant alignments. Remove duplicate alignments from data set.py: Removes duplicate alignments.
Contact
To contact email at [email protected].
- Downloads last month
- 44