local decl = {}

decl['a'] = {
    m = {{'↶โ'}, {'า'}, {'ํ'}, {'↶เ'},
         {'↶เน'}, {'↶เหิ', '↶เภิ'}, {'สฺส', 'าย', 'ตฺถํ'}, {'านํ'},
         {'สฺมา', 'มฺหา', 'า'}, {'↶เหิ', '↶เภิ'}, {'สฺส'}, {'านํ'},
         {'สฺมิํ', 'มฺหิ', '↶เ'}, {'↶เสุ'}, {''}, {'า'}},
    n = {{'ํ'}, {'านิ'}, {'ํ'}, {'านิ'},
         {'↶เน'}, {'↶เหิ', '↶เภิ'}, {'สฺส', 'าย', 'ตฺถํ'}, {'านํ'},
         {'สฺมา', 'มฺหา', 'า'}, {'↶เหิ', '↶เภิ'}, {'สฺส'}, {'านํ'},
         {'สฺมิํ', 'มฺหิ', '↶เ'}, {'↶เสุ'}, {''}, {'านิ'}},
}

decl['ā'] = {
    f = {{''}, {'โย', ''}, {'⌫ํ'}, {'โย', ''},
         {'ย'}, {'หิ', 'ภิ'}, {'ย'}, {'นํ'},
         {'ย'}, {'หิ', 'ภิ'}, {'ย'}, {'นํ'},
         {'ย', 'ยํ'}, {'สุ'}, {'⌫↶เ'}, {'โย', ''}},
    m = {{''}, {''}, {'⌫ํ'}, {'เน'},
         {'⌫↶เน'}, {'หิ', 'ภิ'}, {'⌫สฺส', 'ย'}, {'นํ'},
         {'⌫สฺมา', '⌫มฺหา', ''}, {'หิ', 'ภิ'}, {'⌫สฺส'}, {'นํ'},
         {'⌫สฺมิํ', '⌫มฺหิ', '⌫↶เ'}, {'สุ'}, {'⌫'}, {''}},
}
decl['aa'] = decl['ā']

decl['i'] = {
    m = {{''}, {'⌫โย', '⌫ี'}, {'ํ'}, {'⌫โย', '⌫ี'},
         {'นา'}, {'⌫ีหิ', '⌫ีภิ'}, {'สฺส', 'โน'}, {'⌫ีนํ'},
         {'สฺมา', 'มฺหา'}, {'⌫ีหิ', '⌫ีภิ'}, {'สฺส', 'โน'}, {'⌫ีนํ'},
         {'สฺมิํ', 'มฺหิ'}, {'⌫ีสุ'}, {''}, {'⌫โย', '⌫ี'}},
    n = {{''}, {'⌫ีนิ', '⌫ี'}, {'ํ'}, {'⌫ีนิ', '⌫ี'},
         {'นา'}, {'⌫ีหิ', '⌫ีภิ'}, {'สฺส', 'โน'}, {'⌫ีนํ'},
         {'สฺมา', 'มฺหา'}, {'⌫ีหิ', '⌫ีภิ'}, {'สฺส', 'โน'}, {'⌫ีนํ'},
         {'สฺมิํ', 'มฺหิ'}, {'⌫ีสุ'}, {''}, {'⌫ีนิ', '⌫ี'}},
    f = {{''}, {'โย', '⌫ี'}, {'ํ'}, {'โย', '⌫ี'},
         {'ยา'}, {'⌫ีหิ', '⌫ีภิ'}, {'ยา'}, {'⌫ีนํ'},
         {'ยา', '⌫ฺยา'}, {'⌫ีหิ', '⌫ีภิ'}, {'ยา'}, {'⌫ีนํ'},
         {'ยา', 'ยํ', '⌫ฺยํ'}, {'⌫ีสุ'}, {''}, {'โย', '⌫ี'}},
}

decl['ī'] = {
    m = {{''}, {'⌫ิโน', ''}, {'⌫ิํ', 'นํ'}, {'⌫ิโน', ''},
         {'⌫ินา'}, {'หิ', 'ภิ'}, {'⌫ิสฺส', '⌫ิโน'}, {'นํ'},
         {'⌫ิสฺมา', '⌫ิมฺหา'}, {'หิ', 'ภิ'}, {'⌫ิสฺส', '⌫ิโน'}, {'นํ'},
         {'⌫ิสฺมิํ', '⌫ิมฺหิ'}, {'สุ'}, {'⌫ิ'}, {'⌫ิโน', ''}},
    f = {{''}, {'⌫ิโย', ''}, {'⌫ิํ', '⌫ิยํ'}, {'⌫ิโย', ''},
         {'⌫ิยา'}, {'หิ', 'ภิ'}, {'⌫ิยา'}, {'นํ'},
         {'⌫ิยา'}, {'หิ', 'ภิ'}, {'⌫ิยา'}, {'นํ'},
         {'⌫ิยา', '⌫ิยํ'}, {'สุ'}, {'⌫ิ'}, {'⌫ิโย', ''}},
}
decl['ii'] = decl['ī']

decl['u'] = {
    m = {{''}, {'⌫โว', '⌫ู'}, {'ํ'}, {'⌫โว', '⌫ู'},
         {'นา'}, {'⌫ูหิ', '⌫ูภิ'}, {'สฺส', 'โน'}, {'⌫ูนํ'},
         {'สฺมา', 'มฺหา'}, {'⌫ูหิ', '⌫ูภิ'}, {'สฺส', 'โน'}, {'⌫ูนํ'},
         {'สฺมิํ', 'มฺหิ'}, {'⌫ูสุ'}, {''}, {'⌫เว', '⌫โว'}},
    n = {{''}, {'⌫ูนิ', '⌫ู'}, {'ํ'}, {'⌫ูนิ', '⌫ู'},
         {'นา'}, {'⌫ูหิ', '⌫ูภิ'}, {'สฺส', 'โน'}, {'⌫ูนํ'},
         {'สฺมา', 'มฺหา'}, {'⌫ูหิ', '⌫ูภิ'}, {'สฺส', 'โน'}, {'⌫ูนํ'},
         {'สฺมิํ', 'มฺหิ'}, {'⌫ูสุ'}, {''}, {'⌫ูนิ', '⌫ู'}},
    f = {{''}, {'โย', '⌫ู'}, {'ํ'}, {'โย', '⌫ู'},
         {'ยา'}, {'⌫ูหิ', '⌫ูภิ'}, {'ยา'}, {'⌫ูนํ'},
         {'ยา'}, {'⌫ูหิ', '⌫ูภิ'}, {'ยา'}, {'⌫ูนํ'},
         {'ยา', 'ยํ'}, {'⌫ูสุ'}, {''}, {'โย', '⌫ู'}},
}

decl['ū'] = {
    m = {{''}, {'⌫ุโน', ''}, {'⌫ุํ'}, {'⌫ุโน', ''},
         {'⌫ุนา'}, {'หิ', 'ภิ'}, {'⌫ุสฺส', '⌫ุโน'}, {'นํ'},
         {'⌫ุสฺมา', '⌫ุมฺหา'}, {'หิ', 'ภิ'}, {'⌫ุสฺส', '⌫ุโน'}, {'นํ'},
         {'⌫ุสฺมิํ', '⌫ุมฺหิ'}, {'สุ'}, {'⌫ุ'}, {'⌫ุโน', ''}},
    f = {{''}, {'⌫ุโย', ''}, {'⌫ุํ'}, {'⌫ุโย', ''},
         {'⌫ุยา'}, {'หิ', 'ภิ'}, {'⌫ุยา'}, {'นํ'},
         {'⌫ุยา'}, {'หิ', 'ภิ'}, {'⌫ุยา'}, {'นํ'},
         {'⌫ุยา', '⌫ุยํ'}, {'สุ'}, {'⌫ุ'}, {'⌫ุโย', ''}},
}
decl['uu'] = decl['ū']

return decl
"https://si.wiktionary.org/w/index.php?title=Module:pi-decl/noun/Thai&oldid=29678" වෙතින් සම්ප්‍රවේශනය කෙරිණි