Skip to main content

Removes accents from vowels when a Greek word/sentence is all capitals

Project description

Pretty upper

https://img.shields.io/pypi/v/pretty_upper.svg https://img.shields.io/travis/manikos/pretty_upper.svg Documentation Status

Removes accents from vowels when a Greek word/sentence is all capitals

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

pretty_upper-0.3.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

pretty_upper-0.3.1-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pretty_upper-0.3.1.tar.gz.

File metadata

File hashes

Hashes for pretty_upper-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8b63ddcf05874d22fcbf0aa79194daf08e50588ae454a71229d1c4778042b39c
MD5 1fbb959ad82d5d20b52c9f19b9de7a23
BLAKE2b-256 b2e96cccde8ab6cdc3fab383935794e8b3779aa57e21d856bf6cb04066ed0373

See more details on using hashes here.

File details

Details for the file pretty_upper-0.3.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pretty_upper-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b52887d5a65c77a77f89a7efede9ce6f10e87467e50fa6162003e5aaabf9a163
MD5 e78bc83726f2a24fbb6fe47230ed30de
BLAKE2b-256 20052705a8267e577f2a7999cf26c7f6dfbd1621e21384b2eacb0cb62b04dc59

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page