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.3.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file albanian_tools-0.0.3.tar.gz
.
File metadata
- Download URL: albanian_tools-0.0.3.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 | e86880ea74b1e4d9702b1121d19482121e9e764340249217ab563a3b8b03a300 |
|
MD5 | 4f520a04f0fd8a5d7c2096e252ebbf9e |
|
BLAKE2b-256 | b1e891e6bcd09a089ac7e851ebe7726fb642fa02f79259734b8c065680878074 |
File details
Details for the file albanian_tools-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: albanian_tools-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.4 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 | 0b22b886cf7316b1e07ae95957ae8285b1eef9a1a8f9a098be581aaa9f2e38d8 |
|
MD5 | f473a791c4ec3c0bbb32c3722744beb4 |
|
BLAKE2b-256 | 4cc29a39014b9d33674c34e72620cc6a4728c83034b30f98f424e88511cb7d5e |