Below is the file 'ipa.py' from this revision. You can also download the file.
# -*- coding: utf-8 -*- # taken from: http://en.wikipedia.org/wiki/Double-sized_IPA_vowel_chart vowels = [ 'i','y','ɨ','ʉ','ɯ','u','ɪ', 'ʏ','●','ʊ','e','ø','ɘ','ɵ', 'ɤ','o','ə','ɛ','œ','ɜ','ɞ', 'ʌ','ɔ','æ','ɐ','a','ɶ','ɑ','ɒ' ] def contains_ipa_vowel(word): for letter in word: if letter in vowels: return True return False