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.0.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

pretty_upper-0.3.0-py2.py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 2 Python 3

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