- The following documentation is generated by Module:documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
This module contains data on various types of numbers in Igala.
(edit)
Number | Cardinal | Ordinal |
---|---|---|
0 | òfo | |
1 | ényẹ́, òókáà, (adjectival) káà | éjódùdu |
2 | èjì | ẹ̀kéjì |
3 | ẹ̀ta | ẹ̀kẹ́ta |
4 | ẹ̀lẹ̀ | ẹ̀kẹ́lẹ̀ |
5 | ẹ̀lú | ẹ̀kẹ́lú |
6 | ẹ̀fà | ẹ̀kẹ́fà |
7 | èbie | ẹ̀kébie |
8 | ẹ̀jọ | ẹ̀kẹ́jọ |
9 | ẹ̀lá | ẹ̀kẹ́lá |
10 | ẹ̀gwá | ẹ̀kẹ́gwá |
11 | ẹ̀gwákáà | ẹ̀kẹ́gwákáà |
12 | ẹ̀gwéjì | ẹ̀kẹ́gwéjì |
13 | ẹ̀gwẹ́ta | ẹ̀kẹ́gwẹ́ta |
14 | ẹ̀gwẹ́lẹ̀ | ẹ̀kẹ́gwẹ́lẹ̀ |
15 | ẹ̀gwẹ́lú | ẹ̀kẹ́gwẹ́lú |
16 | ẹ̀gwẹ́fà | ẹ̀kẹ́gwẹ́fà |
17 | ẹ̀gwébie | ẹ̀kẹ́gwébie |
18 | ẹ̀gwẹ́jọ | ẹ̀kẹ́gwẹ́jọ |
19 | ẹ̀gwẹ́lá | ẹ̀kẹ́gwẹ́lá |
local export = {}
local numbers = {}
export.numbers = numbers
local ordinal_prefix = "ẹ̀k"
local tens_prefix = "ẹ̀gw"
numbers[0] = {
cardinal = "òfo",
}
numbers[1] = {
cardinal = {"ényẹ́", "òókáà", "káà<q:adjectival>"},
ordinal = {"éjódùdu"},
}
numbers[2] = {
cardinal = "èjì",
}
numbers[3] = {
cardinal = "ẹ̀ta",
}
numbers[4] = {
cardinal = "ẹ̀lẹ̀",
}
numbers[5] = {
cardinal = "ẹ̀lú",
}
numbers[6] = {
cardinal = "ẹ̀fà",
}
numbers[7] = {
cardinal = "èbie",
}
numbers[8] = {
cardinal = "ẹ̀jọ",
}
numbers[9] = {
cardinal = "ẹ̀lá",
}
numbers[10] = {
cardinal = "ẹ̀gwá",
}
numbers[11] = {
cardinal = numbers[10].cardinal .. mw.ustring.sub(numbers[1].cardinal[2], 3)
}
local function create_ordinal(number)
base_form = numbers[number].cardinal
if mw.ustring.sub(base_form, 2, 2) == "̀" then
return "ẹ́" .. mw.ustring.sub(base_form, 3)
else
return "é" .. mw.ustring.sub(base_form, 2)
end
end
for number = 2, 11 do
str = create_ordinal(number)
numbers[number].ordinal = ordinal_prefix .. str
end
for number = 12, 19 do
base_num = number - 10
numbers[number] = {
cardinal = tens_prefix .. mw.ustring.sub(numbers[base_num].ordinal, 4),
}
end
for number = 12, 19 do
str = create_ordinal(number)
numbers[number].ordinal = ordinal_prefix .. str
end
return export