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.

Files for pretty-upper, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size pretty_upper-0.3.1-py2.py3-none-any.whl (5.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pretty_upper-0.3.1.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page