Skip to main content

A small package for working with Albanian language texts.

Project description

Albanian Tools

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.12.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

albanian_tools-0.0.12-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: albanian_tools-0.0.12.tar.gz
  • Upload date:
  • Size: 4.2 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.12.tar.gz
Algorithm Hash digest
SHA256 46193285970bdfc8a7ef2a4f3a7d6b6eb200de450eaa6e8c448369c9d21f87c6
MD5 ca15bea5615db23c5f8741dae1aafd54
BLAKE2b-256 ba6b349542546705913271098278258f891c43b23c6e1216eb2df5e20f0cdaf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for albanian_tools-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b5e3da4fc0758455b80933ed322e5f7ba0342f4c36d3f4dfe8f523eb535802a9
MD5 9ab6119668144aa589e359da9037067d
BLAKE2b-256 e51f2c8fa512a15d7472cde7b9fba694fa6dae0f7faa95661d767eb690a2b2ee

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