Removes accents from vowels when a Greek word/sentence is all capitals
Project description
Pretty upper
Removes accents from vowels when a Greek word/sentence is all capitals
Free software: MIT license
Documentation: https://pretty-upper.readthedocs.io.
Features
In Greek language (and in others too) there are some vowels that when are accented they have a special treatment during pronouncing the word.
The Greek language has 7 vowels: α, ε, η, ι, ο, υ and ω and all of them may be accented.
The problem comes when an accented vowel gets capitalized. The accent is not removed making the all-capital word look ugly with unnecessary accents.
In Greek grammar, when a word is all-capital, all accents from vowels should be removed. Thus, making it look prettier.
The all-capital word is a common scenario in web pages, such as the navigation menu, call to action (CTA) buttons, some headings etc.
For example compare the word ΜΕΝΟΎ with ΜΕΝΟΥ (both means menu but former has accent on Υ and latter has not). Which is prettier for the web?
This package tries to solve this issue and remove the accent from vowels when are capitalized.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2018-03-10)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pretty_upper-0.3.1.tar.gz
.
File metadata
- Download URL: pretty_upper-0.3.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b63ddcf05874d22fcbf0aa79194daf08e50588ae454a71229d1c4778042b39c |
|
MD5 | 1fbb959ad82d5d20b52c9f19b9de7a23 |
|
BLAKE2b-256 | b2e96cccde8ab6cdc3fab383935794e8b3779aa57e21d856bf6cb04066ed0373 |
File details
Details for the file pretty_upper-0.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pretty_upper-0.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b52887d5a65c77a77f89a7efede9ce6f10e87467e50fa6162003e5aaabf9a163 |
|
MD5 | e78bc83726f2a24fbb6fe47230ed30de |
|
BLAKE2b-256 | 20052705a8267e577f2a7999cf26c7f6dfbd1621e21384b2eacb0cb62b04dc59 |