Skip to main content

A small uni project package

Project description

Get that PopUlarity

Introduction

This is a small program created by a student of the Libera Università di Bolzano.

What does the program do?

The program, as first step, provides some information about a given word, these are the following: definition, right pronunciation (IPA notation) first in the British accent and then in the American one (also the audio file is avalaible if required), thus the user has the opportunity to do a comparison between the two varieties. As last step the popularity of the given word is provided, i.e. you can check where a word is most commonly used and to which country's lexicon it belongs to.

How does the program work?

  1. First of all the user has to give an audio as input, i.e. he has to say the desired word using his computer's mic.
  2. Then the program will recognise the given word and this will be shown first as an audio and then also in the written form.
  3. If the recognised word is exact the user can go on with the program, otherwise he will be asked to repeat the word
  4. A definition will be provided and if the first one is not the one the user was looking for, other definitions can be showed.
  5. Later the right pronunciation in the British accent will appear and the user can opt for the audio or not.
  6. Same step for the American pronunciation.
  7. As final step the user is asked to choose between a pie or a bar chart for the results to be shown, and in the end the popularity of the word will be given.

Please note: only english words are allowed; an error can occur if the given word doesn't exist in the dictionary; another error occurs when all the definitions are provided; only the two British and American varieties are avalaible; other errors can for sure occur, in this case the user is kindly asked to try with another word from the beginning.

How does the user can employ the program?

Please copy and run separately the two codes below:

 pip install getpopularity-angelica-12==0.0.4

 import getpopularity

Final notes

It is important to add that the final values in the last part of the program are calculated on a scale from 0 to 100, where 100 is the location with the most popularity as a fraction of total searches in that location. A higher value means a higher proportion of all queries, not a higher absolute query count. So a tiny country where 80% of the queries are for "tiger" will get twice the score of a giant country where only 40% of the queries are for "tiger".

Credits

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

getpopularity-angelica-12-0.0.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file getpopularity-angelica-12-0.0.4.tar.gz.

File metadata

  • Download URL: getpopularity-angelica-12-0.0.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.10

File hashes

Hashes for getpopularity-angelica-12-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7aa0620461d5d448f33b444e5074016b52e2884bac02a71244f2a339f1f18ded
MD5 3bcd1abbceb7f348ff8972f0908b2a77
BLAKE2b-256 a1255275aab55e7e931bb57b59904e3b689ae9b34384764167eb122b5f27c07f

See more details on using hashes here.

File details

Details for the file getpopularity_angelica_12-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: getpopularity_angelica_12-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.10

File hashes

Hashes for getpopularity_angelica_12-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8dc417f8285ee12aca9fafecb018a26e36b2911aa75987ea75235eb00b1d79ba
MD5 17bd13b95b2fd9f91d6a0846a3d76294
BLAKE2b-256 bb3dd03f2823735552497b1dce896ba5e2720bfbc2dac0fe9e62c76036bfd6e1

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