Skip to main content

automatic English-to-Cyrillic text transcriber

Project description

English-to-Russian Phonetic Transcriber 🔤

Читать на русском языке

A Python library for automatic English-to-Cyrillic text transcription using a hybrid engine: dictionary lookup and neural G2P (gruut) for unknown words.

💡 Features

  • Universal transcription — handles any English text, including invented words, neologisms, and rare names.
  • Custom vocabulary — augment the built-in dictionary with your own overrides.

⚡ Key Highlights

  • Two-tier lookup — IPA via local 120k+ dict + neural G2P backup.
  • Graphemic adaptation — Cyrillic matches Russian orthography.

🚀 Installation

pip install eng-to-ru-transcriber

💻 Usage

Basic Example

from eng_to_ru_transcriber import Transcriber

t = Transcriber()
print(t.transcribe("Hello world"))
# → Хэлоу уорлд

Custom Vocabulary

from eng_to_ru_transcriber import Transcriber

custom_vocabulary = {"python": "ˈpaɪθɑn"}
t = Transcriber(custom_vocabulary=custom_vocabulary)
print(t.transcribe("Python is great"))

🧪 Testing

pip install pytest
pytest

📊 Data Sources

Based on curated IPA data from OpenWiktionary.

📜 License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eng_to_ru_transcriber-0.2.0.tar.gz (889.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eng_to_ru_transcriber-0.2.0-py3-none-any.whl (887.2 kB view details)

Uploaded Python 3

File details

Details for the file eng_to_ru_transcriber-0.2.0.tar.gz.

File metadata

  • Download URL: eng_to_ru_transcriber-0.2.0.tar.gz
  • Upload date:
  • Size: 889.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for eng_to_ru_transcriber-0.2.0.tar.gz
Algorithm Hash digest
SHA256 56225989658cd6286dfc2c55f63379b98366df2ecfe9ffc390cc027614fd6577
MD5 f6465448ece71b07d627ce85d2d87186
BLAKE2b-256 0f7965ed5adf11803dce3b2828393b9d32fa42e9e767995154e61a2228ca62d2

See more details on using hashes here.

File details

Details for the file eng_to_ru_transcriber-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for eng_to_ru_transcriber-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd8216efddb23b10fa77fcf96a584aa23e6f31cf8d08938d319725eadb6a3d4d
MD5 7bd41367cf78e0262ae5c34cfd09a0f8
BLAKE2b-256 5a6f0b4ade3a0cf4a11d6256c7a62ed4f6eda5000883c8f9402af893f808ad00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page