Code Monkey home page Code Monkey logo

phoneticflashcards's Introduction

PhoneticFlashCards

This is a command line project to help study the International Phonetic Alphabet. It uses audio files from wikipedia to randomly play audio of vowels or consonants. After pressing it will display the correct annotations. For vowels this is backness, open-ness and roundness. The wikipedia sounds do not include information on tenseness so that is not included at this time. For consonants this includes manner and place of articulation (e.g. Voiced velar plosive).

image image

Notes on platform and library support

This has only been tested on a mac and requires that the machine have afplay for playing audio. You can install it if you have homebrew installed with the command brew install afplay. Displaying strings and reading input is done with the curses library to make the experience a bit more game like.

How to run

Make sure to chmod u+x quiz.py and then you can run with:

./quiz.py

Or if you prefer, don't chmod it and just:

python quiz.py

How the files were annotated

The files were downloaded from wikipedia with their original filenames which include their annotations. The IPA symbol for each phoneme was added manually to the filenames for classification purposes. The script that downloaded those files is ripper.py. Perhaps it will come in useful in the future.

The filenames are read by the script to display the annotations.

Attributions

Audio files included in this project are from the Wikipedia articles:

IPA Vowel chart with audio

IPA consonant chart with audio

Creative Commons Attribution-Share-Alike License 3.0

phoneticflashcards's People

Contributors

joshstephenson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.