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.2.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file albanian_tools-0.0.2.tar.gz
.
File metadata
- Download URL: albanian_tools-0.0.2.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 | a8d54e5c963a0811a2df6f0d407589efada35b6e8301cd9f3bf2bf51f217667c |
|
MD5 | 70e2f26dbaf99084ed63f8e474da1a35 |
|
BLAKE2b-256 | 88af061a7a0ab5d1a5adcd866afa0024349edde94ae4b08462a2145138a10a14 |
File details
Details for the file albanian_tools-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: albanian_tools-0.0.2-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 | f86c525ea2f345f0ac0e56e05109e00b265a1f2aba55a6ef17ec3c758ed2e3ef |
|
MD5 | c9227457320a0a6f30e2bc76aa5b40f3 |
|
BLAKE2b-256 | 8352f1c56b3368fa606baec00ebb2fba56117a74b80c7109fe444c675515caf3 |