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.1.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file albanian_tools-0.0.1.tar.gz
.
File metadata
- Download URL: albanian_tools-0.0.1.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 | d1e1dde0b8e98a3999e7fed518c4e7f0c50d0d71c3bb81fb39de1da2daabab94 |
|
MD5 | 58d4e7e0d0fefa84a2f4c689b8ffe446 |
|
BLAKE2b-256 | 587c5ae104b512cc023d4a9d183671c85f08ab9401d418e08876e8749c28bddd |
File details
Details for the file albanian_tools-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: albanian_tools-0.0.1-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 | f90d5bc8724b3357ef1a6e0281f936f94120e7f777615ca512a9f5295f0457c1 |
|
MD5 | 10a5056456cc63edb364920868315afe |
|
BLAKE2b-256 | 4697d2515fb84458f82c98c1d33230b53bb2e4f888eaf2016aad7096cd9c4662 |