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
Release history Release notifications | RSS feed
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.10.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file albanian_tools-0.0.10.tar.gz
.
File metadata
- Download URL: albanian_tools-0.0.10.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecc1200980d75bb12832a7bfd93076917234be55f0a5515e7fc6ad6f4edaa3cb |
|
MD5 | b4903a15fb70cb45ca53588552090e30 |
|
BLAKE2b-256 | 779b6567ac3894b33075c91c791384c1d8c03c1e4e435986e59a4792b20f93ec |
File details
Details for the file albanian_tools-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: albanian_tools-0.0.10-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9cca7a95827b753a0487783defca73b2e4e5002ba6c6bcdab03f63dd8939ac3 |
|
MD5 | 567f438b65b8305e0a8dbadd448dfb96 |
|
BLAKE2b-256 | dc3ee89b6ad2fbb37daba297859520baa4abc35a287c6b247a354e6c847e4292 |