Skip to main content

A small package for working with Albanian language texts.

Project description

Albanian Tools - to be published

Installation

pip install albanian_tools

Usage

There are three main functions: remove_leading_numbers, replace_numbers_with_albanian_text, and integer_to_albanian_text_converter.

import albanian_tools

# remove_leading_numbers
text_1 = "913. Paragraf interesant" # Returns "Paragraf interesant"
text_1_text_numbers = albanian_tools.remove_leading_numbers(text_1)

# replace_numbers_with_albanian_text
text_2 = "Neni 217 kalon tutje." # Returns "Neni dyqind e shtatëmbëdhjetë kalon tutje."
text_2_text_numbers = albanian_tools.replace_numbers_with_albanian_text(text_2)

# integer_to_albanian_text_converter
integer_example = 717 # Returns "shtatëqind e shtatëmbëdhjetë"
integer_example_text_number = albanian_tools.integer_to_albanian_text_converter(integer_example)

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

albanian_tools-0.0.8.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

albanian_tools-0.0.8-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file albanian_tools-0.0.8.tar.gz.

File metadata

  • Download URL: albanian_tools-0.0.8.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.19

File hashes

Hashes for albanian_tools-0.0.8.tar.gz
Algorithm Hash digest
SHA256 02f8dd3f96e75457c9679a197cf2e30a506fceec8ecb8714ae25426ab3e46212
MD5 75fd7ea9894cdcf2effdbd5d31d913bf
BLAKE2b-256 327984391d2e087b40a78ca9e7a6d9def3fdb8a3c905e0e35878d90857975052

See more details on using hashes here.

File details

Details for the file albanian_tools-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for albanian_tools-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 74afa592259964cfd7af4d29b860f8ca4a81f620e06fbb7ea047cb3c89bdd843
MD5 a9845022af8cd45ee4d15236aa643831
BLAKE2b-256 3667767d76d4432de83c1d976a83a45dcb44de893ef8414a8ff54105e6d3f98f

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