Skip to main content

A translator from English to Azerbiajani(Arabic Script) package

Project description

English to Azerbaijani(Arabic Script) Translator (Arabic Script)

This package provides an easy-to-use interface for translating text from English to Azerbaijani using Arabic script. Built with PyTorch, it leverages advanced neural network models for accurate and fast translations.

Features

  • High-quality translation from English to Azerbaijani (Arabic Script).
  • Simple and intuitive API.
  • Lightweight and fast.

Installation

Install the package using pip:

pip install chevir-kartalol==0.1

Requirements List your package requirements, but typically:

Python >= 3.9
Torch >= 2.0.0
torchtext==0.6.0
spacy

** 1- Note: You need to update spacy as follows:

1- download tokenizer that we created for azb from the following link:
    - https://drive.google.com/file/d/1m6nQ13WIBW3pXGaLnLndd-6PYwExvUe8/view?usp=sharing

2- move azb and lex_attrs.py folder into:
    - venv/lib/python3.10/site-packages/spacy/lang/

2- Note: if you have GPU make sure that you have done cuda setting correctly.

To use the translator, follow these steps:

from chevir_kartalol.evaluation import Dilmanc

# Initialize the translator (make sure to adjust parameters as needed)
translator = Dilmanc()

# Translate text
translated_text = translator.chevir("Your English text here")
print(translated_text)

License

This project is licensed under the Apache-2.0 License - see the LICENSE file for details.

Support

For support and queries, raise an issue in the GitHub repository or contact the maintainers directly.

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

chevir_kartalol-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

chevir_kartalol-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file chevir_kartalol-0.0.1.tar.gz.

File metadata

  • Download URL: chevir_kartalol-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for chevir_kartalol-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7e2d78ce251c2fb9e1209bdfeea63c9cd2e4a6e280cb2011b714ee0abf1396b8
MD5 d356b18babeffaf85727a7cbb45c669a
BLAKE2b-256 d441c66d71649d001c2b7b89a8225e52cdbc901224854f54d216215c876b06d4

See more details on using hashes here.

File details

Details for the file chevir_kartalol-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for chevir_kartalol-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1022652177f4246134d3ef11a10fd230c945dfe11a0d3831364c9f0ed651d4aa
MD5 cdc599502565ab652087a76b7ae8c402
BLAKE2b-256 3cf7a20dba5e8837db073200418c6812f032371cee9439d9c30551645fe1e623

See more details on using hashes here.

Supported by

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