KvaytG's picture
Fixed License
d5a5920 verified
|
Raw
History Blame Contribute Delete
2.8 kB
metadata
license: apache-2.0
language:
  - en
  - ru
tags:
  - translation
  - dictionary
  - nlp
  - en-ru
  - statistical-alignment
size_categories:
  - 10K<n<100K
dataset_info:
  features:
    - name: english_word
      dtype: string
    - name: russian_word
      dtype: string
    - name: count
      dtype: int64
    - name: probability
      dtype: float64
  splits:
    - name: train
      num_examples: 56624

en-ru-statistical-dict-20m-corpus

Dataset Description

This dataset is a high-quality English-Russian lemmatized dictionary extracted from a parallel corpus of 20 million sentences. The dictionary was built using statistical alignment and rigorous filtering to ensure accuracy and relevance.

Methodology

  1. Source: Parallel corpus of 20,000,000 sentence pairs.
  2. Preprocessing: - Tokenization and Lemmatization (SpaCy for English, PyMorphy3 for Russian).
    • Rare words in the corpus were replaced with <unk> tokens during training to optimize memory.
  3. Alignment: Performed using fast_align (IBM Model 2) with forward and backward passes.
  4. Symmetrization: grow-diag-final-and algorithm.
  5. Filtering:
    • Numerical tokens and special characters were removed.
    • Minimum occurrence threshold: count >= 50.
    • Relative probability threshold: probability >= 0.02 (2%).

Dataset Structure

The dataset is provided in a single TSV (Tab-Separated Values) file:

Column Description
english_word Lemmatized English word
russian_word Lemmatized Russian translation
count Absolute number of times this pair was aligned in the corpus
probability Relative probability P(ru|en) for this translation

Example

For the word "book":

  • книга: 0.8156
  • бронирование: 0.051
  • забронировать: 0.0297

... and so on.

Usage

from datasets import load_dataset
dataset = load_dataset("KvaytG/en-ru-statistical-dict-20m-corpus", split="train")

License

This dataset is released under the Apache License 2.0.

Citation

@misc{kvaytg_en_ru_statistical_dict_20m_corpus,
  author       = {KvaytG},
  title        = {English-Russian Statistical Dictionary from 20M parallel corpus},
  year         = {2026},
  publisher    = {Hugging Face},
  journal      = {Hugging Face Datasets},
  url          = {https://huggingface.co/datasets/KvaytG/en-ru-statistical-dict-20m-corpus},
  note         = {Built from en-ru-parallel-20m using fast_align + grow-diag-final-and}
}