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.6.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file albanian_tools-0.0.6.tar.gz
.
File metadata
- Download URL: albanian_tools-0.0.6.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 | f070b79e2103d20fbff5eb86e25c12b94c0a71cb8604f888c8bdab55b2fcbbce |
|
MD5 | 4f5a6a741b7d53e97b22713f1fb0675d |
|
BLAKE2b-256 | c1e710f6a1dbb5527f766ac40b824fc482928a99caa8fb963a0c07dec291c5f8 |
File details
Details for the file albanian_tools-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: albanian_tools-0.0.6-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 | e1a473704357a5f86798b0516945436e0369f68c76495b28421a86a0d1aadd7d |
|
MD5 | 342c4a650ee67ce1731ae95c097c2039 |
|
BLAKE2b-256 | c9112ac1765aa80f8ba644cdb01c886af9bbb24bf4ea6e0e4dee557e3a1d27f0 |