local decl = {}

decl['a'] = {
    m = {{'↶ໂ'}, {'າ'}, {'ໍ'}, {'↶ເ'},
         {'↶ເນ'}, {'↶ເຫິ', '↶ເຠິ'}, {'ສ຺ສ', 'າຍ', 'ຕ຺ຖໍ'}, {'ານໍ'},
         {'ສ຺ມາ', 'ມ຺ຫາ', 'າ'}, {'↶ເຫິ', '↶ເຠິ'}, {'ສ຺ສ'}, {'ານໍ'},
         {'ສ຺ມິໍ', 'ມ຺ຫິ', '↶ເ'}, {'↶ເສຸ'}, {''}, {'າ'}},
    n = {{'ໍ'}, {'ານິ'}, {'ໍ'}, {'ານິ'},
         {'↶ເນ'}, {'↶ເຫິ', '↶ເຠິ'}, {'ສ຺ສ', 'າຍ', 'ຕ຺ຖໍ'}, {'ານໍ'},
         {'ສ຺ມາ', 'ມ຺ຫາ', 'າ'}, {'↶ເຫິ', '↶ເຠິ'}, {'ສ຺ສ'}, {'ານໍ'},
         {'ສ຺ມິໍ', 'ມ຺ຫິ', '↶ເ'}, {'↶ເສຸ'}, {''}, {'ານິ'}},
}

decl['ā'] = {
    f = {{''}, {'ໂຍ', ''}, {'⌫ໍ'}, {'ໂຍ', ''},
         {'ຍ'}, {'ຫິ', 'ຠິ'}, {'ຍ'}, {'ນໍ'},
         {'ຍ'}, {'ຫິ', 'ຠິ'}, {'ຍ'}, {'ນໍ'},
         {'ຍ', 'ຍໍ'}, {'ສຸ'}, {'⌫↶ເ'}, {'ໂຍ', ''}},
    m = {{''}, {''}, {'⌫ໍ'}, {'ເນ'},
         {'⌫↶ເນ'}, {'ຫິ', 'ຠິ'}, {'⌫ສ຺ສ', 'ຍ'}, {'ນໍ'},
         {'⌫ສ຺ມາ', '⌫ມ຺ຫາ', ''}, {'ຫິ', 'ຠິ'}, {'⌫ສ຺ສ'}, {'ນໍ'},
         {'⌫ສ຺ມິໍ', '⌫ມ຺ຫິ', '⌫↶ເ'}, {'ສຸ'}, {'⌫'}, {''}},
}
decl['aa'] = decl['ā']

-- Quick fix for Lao nouns with alphabetic spelling, such as ເທວະ.
decl['ah'] = {
    m = {{'⌫↶ໂ'}, {'⌫າ'}, {'⌫ັງ'}, {'⌫↶ເ'},
         {'⌫↶ເນະ'}, {'⌫↶ເຫິ', '⌫↶ເຠິ'}, {'⌫ັສສະ', '⌫າຍະ', '⌫ັຕຖັງ'}, {'⌫ານັງ'},
         {'⌫ັສມາ', '⌫ັມຫາ', '⌫າ'}, {'⌫↶ເຫິ', '⌫↶ເຠິ'}, {'⌫ັສສະ'}, {'⌫ານັງ'},
         {'⌫ັສມິງ', '⌫ັມຫິ', '⌫↶ເ'}, {'⌫↶ເສຸ'}, {''}, {'⌫າ'}},
    n = {{'⌫ັງ'}, {'⌫ານິ'}, {'⌫ັງ'}, {'⌫ານິ'},
         {'⌫↶ເນະ'}, {'⌫↶ເຫິ', '⌫↶ເຠິ'}, {'⌫ັສສະ', '⌫າຍະ', '⌫ັຕຖັງ'}, {'⌫ານັງ'},
         {'⌫ັສມາ', '⌫ັມຫາ', '⌫າ'}, {'⌫↶ເຫິ', '⌫↶ເຠິ'}, {'⌫ັສສະ'}, {'⌫ານັງ'},
         {'⌫ັສມິງ', '⌫ັມຫິ', '⌫↶ເ'}, {'⌫↶ເສຸ'}, {''}, {'⌫ານິ'}},
}


decl['i'] = {
    m = {{''}, {'⌫ໂຍ', '⌫ີ'}, {'ໍ'}, {'⌫ໂຍ', '⌫ີ'},
         {'ນາ'}, {'⌫ີຫິ', '⌫ີຠິ'}, {'ສ຺ສ', 'ໂນ'}, {'⌫ີນໍ'},
         {'ສ຺ມາ', 'ມ຺ຫາ'}, {'⌫ີຫິ', '⌫ີຠິ'}, {'ສ຺ສ', 'ໂນ'}, {'⌫ີນໍ'},
         {'ສ຺ມິໍ', 'ມ຺ຫິ'}, {'⌫ີສຸ'}, {''}, {'⌫ໂຍ', '⌫ີ'}},
    n = {{''}, {'⌫ີນິ', '⌫ີ'}, {'ໍ'}, {'⌫ີນິ', '⌫ີ'},
         {'ນາ'}, {'⌫ີຫິ', '⌫ີຠິ'}, {'ສ຺ສ', 'ໂນ'}, {'⌫ີນໍ'},
         {'ສ຺ມາ', 'ມ຺ຫາ'}, {'⌫ີຫິ', '⌫ີຠິ'}, {'ສ຺ສ', 'ໂນ'}, {'⌫ີນໍ'},
         {'ສ຺ມິໍ', 'ມ຺ຫິ'}, {'⌫ີສຸ'}, {''}, {'⌫ີນິ', '⌫ີ'}},
    f = {{''}, {'ໂຍ', '⌫ີ'}, {'ໍ'}, {'ໂຍ', '⌫ີ'},
         {'ຍາ'}, {'⌫ີຫິ', '⌫ີຠິ'}, {'ຍາ'}, {'⌫ີນໍ'},
         {'ຍາ', '⌫຺ຍາ'}, {'⌫ີຫິ', '⌫ີຠິ'}, {'ຍາ'}, {'⌫ີນໍ'},
         {'ຍາ', 'ຍໍ', '⌫຺ຍໍ'}, {'⌫ີສຸ'}, {''}, {'ໂຍ', '⌫ີ'}},
}

decl['ī'] = {
    m = {{''}, {'⌫ິໂນ', ''}, {'⌫ິໍ', 'ນໍ'}, {'⌫ິໂນ', ''},
         {'⌫ິນາ'}, {'ຫິ', 'ຠິ'}, {'⌫ິສ຺ສ', '⌫ິໂນ'}, {'ນໍ'},
         {'⌫ິສ຺ມາ', '⌫ິມ຺ຫາ'}, {'ຫິ', 'ຠິ'}, {'⌫ິສ຺ສ', '⌫ິໂນ'}, {'ນໍ'},
         {'⌫ິສ຺ມິໍ', '⌫ິມ຺ຫິ'}, {'ສຸ'}, {'⌫ິ'}, {'⌫ິໂນ', ''}},
    f = {{''}, {'⌫ິໂຍ', ''}, {'⌫ິໍ', '⌫ິຍໍ'}, {'⌫ິໂຍ', ''},
         {'⌫ິຍາ'}, {'ຫິ', 'ຠິ'}, {'⌫ິຍາ'}, {'ນໍ'},
         {'⌫ິຍາ'}, {'ຫິ', 'ຠິ'}, {'⌫ິຍາ'}, {'ນໍ'},
         {'⌫ິຍາ', '⌫ິຍໍ'}, {'ສຸ'}, {'⌫ິ'}, {'⌫ິໂຍ', ''}},
}
decl['ii'] = decl['ī']

decl['u'] = {
    m = {{''}, {'⌫ໂວ', '⌫ູ'}, {'ໍ'}, {'⌫ໂວ', '⌫ູ'},
         {'ນາ'}, {'⌫ູຫິ', '⌫ູຠິ'}, {'ສ຺ສ', 'ໂນ'}, {'⌫ູນໍ'},
         {'ສ຺ມາ', 'ມ຺ຫາ'}, {'⌫ູຫິ', '⌫ູຠິ'}, {'ສ຺ສ', 'ໂນ'}, {'⌫ູນໍ'},
         {'ສ຺ມິໍ', 'ມ຺ຫິ'}, {'⌫ູສຸ'}, {''}, {'⌫ເວ', '⌫ໂວ'}},
    n = {{''}, {'⌫ູນິ', '⌫ູ'}, {'ໍ'}, {'⌫ູນິ', '⌫ູ'},
         {'ນາ'}, {'⌫ູຫິ', '⌫ູຠິ'}, {'ສ຺ສ', 'ໂນ'}, {'⌫ູນໍ'},
         {'ສ຺ມາ', 'ມ຺ຫາ'}, {'⌫ູຫິ', '⌫ູຠິ'}, {'ສ຺ສ', 'ໂນ'}, {'⌫ູນໍ'},
         {'ສ຺ມິໍ', 'ມ຺ຫິ'}, {'⌫ູສຸ'}, {''}, {'⌫ູນິ', '⌫ູ'}},
    f = {{''}, {'ໂຍ', '⌫ູ'}, {'ໍ'}, {'ໂຍ', '⌫ູ'},
         {'ຍາ'}, {'⌫ູຫິ', '⌫ູຠິ'}, {'ຍາ'}, {'⌫ູນໍ'},
         {'ຍາ'}, {'⌫ູຫິ', '⌫ູຠິ'}, {'ຍາ'}, {'⌫ູນໍ'},
         {'ຍາ', 'ຍໍ'}, {'⌫ູສຸ'}, {''}, {'ໂຍ', '⌫ູ'}},
}

decl['ū'] = {
    m = {{''}, {'⌫ຸໂນ', ''}, {'⌫ຸໍ'}, {'⌫ຸໂນ', ''},
         {'⌫ຸນາ'}, {'ຫິ', 'ຠິ'}, {'⌫ຸສ຺ສ', '⌫ຸໂນ'}, {'ນໍ'},
         {'⌫ຸສ຺ມາ', '⌫ຸມ຺ຫາ'}, {'ຫິ', 'ຠິ'}, {'⌫ຸສ຺ສ', '⌫ຸໂນ'}, {'ນໍ'},
         {'⌫ຸສ຺ມິໍ', '⌫ຸມ຺ຫິ'}, {'ສຸ'}, {'⌫ຸ'}, {'⌫ຸໂນ', ''}},
    f = {{''}, {'⌫ຸໂຍ', ''}, {'⌫ຸໍ'}, {'⌫ຸໂຍ', ''},
         {'⌫ຸຍາ'}, {'ຫິ', 'ຠິ'}, {'⌫ຸຍາ'}, {'ນໍ'},
         {'⌫ຸຍາ'}, {'ຫິ', 'ຠິ'}, {'⌫ຸຍາ'}, {'ນໍ'},
         {'⌫ຸຍາ', '⌫ຸຍໍ'}, {'ສຸ'}, {'⌫ຸ'}, {'⌫ຸໂຍ', ''}},
}
decl['uu'] = decl['ū']

return decl