def get_all_obstrudents(phoneset):
    phones = phoneset.get_phone_list()
    obstrudents = []
    for phone in phones:
        if phone_is_obstrudent(phoneset, phone):
            obstrudents.append(phone)
            
    return obstrudents
def get_all_nasals(phoneset):
    phones = phoneset.get_phone_list()
    nasals = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "manner_nasal"):
            nasals.append(phone)
            
    return nasals
def get_all_glides(phoneset):
    phones = phoneset.get_phone_list()
    glides = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "manner_glide"):
            glides.append(phone)

    return glides
def get_all_plosives(phoneset):
    phones = phoneset.get_phone_list()
    consonants = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "manner_plosive"):
            consonants.append(phone)

    return consonants
def get_all_vowels(phoneset):
    phones = phoneset.get_phone_list()
    vowels = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "vowel"):
            vowels.append(phone)

    return vowels
def get_all_obstrudents(phoneset):
    phones = phoneset.get_phone_list()
    obstrudents = []
    for phone in phones:
        if phone_is_obstrudent(phoneset, phone):
            obstrudents.append(phone)

    return obstrudents
def get_all_consonants(phoneset):
    phones = phoneset.get_phone_list()
    consonants = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "consonant"):
            consonants.append(phone)

    return consonants
def get_all_nasals(phoneset):
    phones = phoneset.get_phone_list()
    nasals = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "manner_nasal"):
            nasals.append(phone)

    return nasals
def get_all_glides(phoneset):
    phones = phoneset.get_phone_list()
    glides = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "manner_glide"):
            glides.append(phone)

    return glides
def get_all_vowels(phoneset):
    phones = phoneset.get_phone_list()
    vowels = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "vowel"):
            vowels.append(phone)

    return vowels
def get_all_plosives(phoneset):
    phones = phoneset.get_phone_list()
    consonants = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "manner_plosive"):
            consonants.append(phone)

    return consonants
def get_all_consonants(phoneset):
    phones = phoneset.get_phone_list()
    consonants = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "consonant"):
            consonants.append(phone)

    return consonants
def get_all_liquids(phoneset):
    phones = phoneset.get_phone_list()
    liquids = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "manner_trill"):
            liquids.append(phone)
            continue
        
        if phoneset.phone_has_feature(phone, "manner_flap"):
            liquids.append(phone)
            continue
        
        t3 = phoneset.phone_has_feature(phone, "manner_approximant")
        t4 = phoneset.phone_has_feature(phone, "manner_liquid")
        if (t3 and t4):
            liquids.append(phone)

    return liquids
def get_all_liquids(phoneset):
    phones = phoneset.get_phone_list()
    liquids = []
    for phone in phones:
        if phoneset.phone_has_feature(phone, "manner_trill"):
            liquids.append(phone)
            continue

        if phoneset.phone_has_feature(phone, "manner_flap"):
            liquids.append(phone)
            continue

        t3 = phoneset.phone_has_feature(phone, "manner_approximant")
        t4 = phoneset.phone_has_feature(phone, "manner_liquid")
        if (t3 and t4):
            liquids.append(phone)

    return liquids
def get_all_phones(phoneset):
    phones = phoneset.get_phone_list()
    all_phones = []
    for phone in phones:
        all_phones.append(phone)
    return all_phones
def get_all_phones(phoneset):
    phones = phoneset.get_phone_list()
    all_phones = []
    for phone in phones:
        all_phones.append(phone)
    return all_phones