This module contains data on various types of numbers in English.
local export = {numbers = {}}
export.additional_number_types = {
{key = "latinate_ordinal", after = "ordinal"},
{key = "reverse_order_ordinal", after = "latinate_ordinal"},
{key = "latinate_reverse_order_ordinal", after = "reverse_order_ordinal"},
{key = "latinate_multiplier", after = "multiplier"},
{key = "germanic_collective", after = "collective"},
{key = "collective_of_n_parts", after = "germanic_collective"},
{key = "greek_or_latinate_collective", after = "collective_of_n_parts", display = "Greek or Latinate collective"},
{key = "latinate_collective_prefix", after = "greek_or_latinate_collective"},
{key = "greek_collective_prefix", after = "greek_or_latinate_collective"},
{key = "metric_collective_prefix", after = "greek_or_latinate_collective"},
{key = "metric_fractional_prefix", after = "fractional"},
{key = "latinate_fractional_prefix", after = "metric_fractional_prefix"},
{key = "greek_fractional_prefix", after = "latinate_fractional_prefix"},
{key = "elemental", after = "greek_fractional_prefix"},
{key = "greek_prefix"},
{key = "number_of_musicians"},
{key = "number_of_years"},
}
local numbers = export.numbers
numbers = {
cardinal = "zero",
ordinal = "zeroth",
adverbial = "never",
}
numbers = {
cardinal = "one",
ordinal = "first",
latinate_ordinal = "primary",
reverse_order_ordinal = "last",
latinate_reverse_order_ordinal = "ultimate",
adverbial = {"] ]", "once"},
multiplier = "onefold",
latinate_multiplier = "single",
distributive = "singly",
germanic_collective = "onesome",
collective_of_n_parts = {"singlet", "singleton"},
greek_or_latinate_collective = "monad",
latinate_collective_prefix = "uni-",
greek_collective_prefix = "mono-",
fractional = "whole",
elemental = {"singlet", "singleton"},
greek_prefix = "proto-",
number_of_musicians = "solo",
number_of_years = "year",
}
numbers = {
cardinal = "two",
ordinal = "second",
latinate_ordinal = "secondary",
reverse_order_ordinal = {"second to last", "second from last", "last but one"},
latinate_reverse_order_ordinal = "penultimate",
adverbial = {"] ]", "twice"},
multiplier = "twofold",
latinate_multiplier = "double",
distributive = "doubly",
germanic_collective = {"pair", "twosome"},
collective_of_n_parts = {"doublet", "couple", "couplet"},
greek_or_latinate_collective = "dyad",
latinate_collective_prefix = "bi-",
greek_collective_prefix = {"di-", "duo-"},
fractional = "half",
metric_collective_prefix = "double-",
metric_fractional_prefix = "demi-",
latinate_fractional_prefix = "semi-",
greek_fractional_prefix = "hemi-",
elemental = {"twin", "doublet"},
greek_prefix = "deutero-",
number_of_musicians = {"duo", "duet", "duplet"},
number_of_years = "biennium"
}
numbers = {
cardinal = "three",
ordinal = "third",
latinate_ordinal = "tertiary",
reverse_order_ordinal = "third to last",
latinate_reverse_order_ordinal = "antepenultimate",
adverbial = {"] ]", "thrice"},
multiplier = "threefold",
latinate_multiplier = "triple",
distributive = "triply",
germanic_collective = {"trio", "threesome"},
collective_of_n_parts = "triplet",
greek_or_latinate_collective = "triad",
latinate_collective_prefix = "tri-",
greek_collective_prefix = "tri-",
fractional = "third",
elemental = "triplet",
greek_prefix = "trito-",
number_of_musicians = {"trio", "triplet"},
number_of_years = "triennium",
}
numbers = {
cardinal = "four",
ordinal = "fourth",
latinate_ordinal = {"quartary", "quaternary"},
latinate_reverse_order_ordinal = "preantepenultimate",
adverbial = "] ]",
multiplier = "fourfold",
latinate_multiplier = "quadruple",
distributive = "quadruply",
germanic_collective = "foursome",
collective_of_n_parts = "quadruplet",
greek_or_latinate_collective = "tetrad",
latinate_collective_prefix = "quadri-",
greek_collective_prefix = {"tetra-", "tessera-"},
fractional = {"quarter", "fourth"},
elemental = "quadruplet",
greek_prefix = "tetarto-",
number_of_musicians = "quartet",
number_of_years = {"quadrennium","olympiad"},
}
numbers = {
cardinal = "five",
ordinal = "fifth",
latinate_ordinal = {"quintary", "quinary"},
latinate_reverse_order_ordinal = "propreantepenultimate",
adverbial = "] ]",
multiplier = "fivefold",
latinate_multiplier = "quintuple",
distributive = "quintuply",
germanic_collective = "fivesome",
collective_of_n_parts = {"quintuplet", "pentuplet"},
greek_or_latinate_collective = "pentad",
latinate_collective_prefix = "quinque-",
greek_collective_prefix = "penta-",
fractional = "fifth",
elemental = {"quintuplet", "pentuplet"},
greek_prefix = "pempto-",
number_of_musicians = "quintet",
number_of_years = {"quinquennium","lustrum"},
}
numbers = {
cardinal = "six",
ordinal = "sixth",
latinate_ordinal = "senary",
adverbial = "] ]",
multiplier = "sixfold",
latinate_multiplier = "sextuple",
distributive = "sextuply",
germanic_collective = {"half-dozen", "sixsome"},
collective_of_n_parts = {"sextuplet", "hextuplet"},
greek_or_latinate_collective = "hexad",
latinate_collective_prefix = "sexa-",
greek_collective_prefix = "hexa-",
fractional = "sixth",
elemental = {"sextuplet", "hextuplet"},
greek_prefix = "hexa-",
number_of_musicians = "sextet",
number_of_years = "sexennium",
}
numbers = {
cardinal = "seven",
ordinal = "seventh",
latinate_ordinal = "septenary",
adverbial = "] ]",
multiplier = "sevenfold",
latinate_multiplier = "septuple",
distributive = "septuply",
germanic_collective = "sevensome",
collective_of_n_parts = "septuplet",
greek_or_latinate_collective = "heptad",
greek_collective_prefix = "hepta-",
fractional = "seventh",
elemental = "septuple",
number_of_musicians = "septet",
number_of_years = "septennium",
}
numbers = {
cardinal = "eight",
ordinal = "eighth",
latinate_ordinal = "octonary",
adverbial = "] ]",
multiplier = "eightfold",
latinate_multiplier = "octuple",
distributive = "octuply",
germanic_collective = "eightsome",
collective_of_n_parts = "octuplet",
greek_or_latinate_collective = "octad",
latinate_collective_prefix = "octo-",
greek_collective_prefix = {"octo-", "octa-"},
fractional = "eighth",
elemental = "octuplet",
greek_prefix = "ogdo-",
number_of_musicians = "octet",
number_of_years = "octennium",
}
numbers = {
cardinal = "nine",
ordinal = "ninth",
latinate_ordinal = "nonary",
adverbial = "] ]",
multiplier = "ninefold",
latinate_multiplier = "nonuple",
germanic_collective = "ninesome",
collective_of_n_parts = "nonuplet",
greek_or_latinate_collective = {"ennead", "nonad"},
latinate_collective_prefix = "nona-",
greek_collective_prefix = "ennea-",
fractional = "ninth",
elemental = "nonuplet",
number_of_musicians = "nonet",
number_of_years = "novennium",
}
numbers = {
cardinal = "ten",
ordinal = "tenth",
latinate_ordinal = "denary",
adverbial = "] ]",
multiplier = "tenfold",
latinate_multiplier = "decuple",
germanic_collective = "tensome",
collective_of_n_parts = "decuplet",
greek_or_latinate_collective = {"decad", "decade"},
latinate_collective_prefix = "deca-",
greek_collective_prefix = "deca-",
metric_collective_prefix = "deca-",
fractional = "tenth",
elemental = "decuplet",
metric_fractional_prefix = "deci-",
greek_prefix = "decato-",
number_of_musicians = "decet",
number_of_years = {"decade", "decennium"},
}
numbers = {
cardinal = "eleven",
ordinal = "eleventh",
latinate_ordinal = "undecimary",
adverbial = "] ]",
multiplier = "elevenfold",
latinate_multiplier = "undecuple",
germanic_collective = "elevensome",
greek_or_latinate_collective = "hendecad",
latinate_collective_prefix = "undeca-",
greek_collective_prefix = "hendeca-",
fractional = "eleventh",
number_of_musicians = "undecet",
}
numbers = {
cardinal = "twelve",
ordinal = "twelfth", -- "dozenth" (nonstandard)
latinate_ordinal = "duodecimary",
adverbial = "] ]",
multiplier = "twelvefold",
latinate_multiplier = "duodecuple",
germanic_collective = {"dozen", "twelvesome"},
greek_or_latinate_collective = {"duodecad", "duodecade"},
latinate_collective_prefix = "duodeca-",
greek_collective_prefix = "dodeca-",
fractional = {"twelfth", "dozenth"},
number_of_musicians = "duodecet",
}
for i, teen in ipairs { "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" } do
numbers = {
cardinal = teen,
ordinal = teen .. "th",
}
end
for i, tens_cardinal in ipairs {
"twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety",
} do
local tens = (i + 1) * 10
if tens == 20 then
numbers = {
cardinal = tens_cardinal,
ordinal = tens_cardinal:gsub("y$", "ieth"),
adverbial = ("] ]"):format(tens_cardinal),
multiplier = tens_cardinal .. "fold",
germanic_collective = "score",
}
elseif tens == 60 then
numbers = {
cardinal = tens_cardinal,
ordinal = tens_cardinal:gsub("y$", "ieth"),
adverbial = ("] ]"):format(tens_cardinal),
multiplier = tens_cardinal .. "fold",
germanic_collective = "shock",
}
else
numbers = {
cardinal = tens_cardinal,
ordinal = tens_cardinal:gsub("y$", "ieth"),
adverbial = ("] ]"):format(tens_cardinal),
multiplier = tens_cardinal .. "fold",
}
end
for ones = 1, 9 do
numbers = {
cardinal = tens_cardinal .. "-" .. numbers.cardinal,
ordinal = tens_cardinal .. "-" .. numbers.ordinal,
adverbial = ("] ]"):format(tens_cardinal, numbers.cardinal),
}
end
end
numbers = {
cardinal = "hundred",
ordinal = "hundredth",
multiplier = "hundredfold",
latinate_multiplier = "centuple",
germanic_collective = "hundred",
collective_of_n_parts = "centuplet",
metric_collective_prefix = "hecto-",
metric_fractional_prefix = "centi-",
elemental = "centuplet",
number_of_years = {"century", "centennium"},
}
numbers = {
cardinal = {"one hundred and one", "one hundred one", "hundred and one", "hundred one"},
ordinal = {"one hundred and first", "one hundred first", "hundred-and-first", "hundred-first"},
}
numbers = {
cardinal = {"eleventy"},
}
numbers = {
cardinal = {"twelfty"},
}
numbers = {
germanic_collective = "gross",
}
numbers = {
cardinal = "two hundred",
ordinal = "two-hundredth",
}
numbers = {
cardinal = "three hundred",
ordinal = "three-hundredth",
}
numbers = {
cardinal = "four hundred",
ordinal = "four-hundredth",
}
numbers = {
cardinal = "five hundred",
ordinal = "five-hundredth",
}
numbers = {
cardinal = "six hundred",
ordinal = "six-hundredth",
}
numbers = {
cardinal = "seven hundred",
ordinal = "seven-hundredth",
}
numbers = {
cardinal = "eight hundred",
ordinal = "eight-hundredth",
}
numbers = {
cardinal = "nine hundred",
ordinal = "nine-hundredth",
}
numbers = {
cardinal = "thousand",
ordinal = "thousandth",
multiplier = "thousandfold",
germanic_collective = "chiliad",
metric_collective_prefix = "kilo-",
metric_fractional_prefix = "milli-",
number_of_years = {"millennium", "kiloannum", "kiloyear"},
}
numbers = {
cardinal = {"one thousand and one", "one thousand one", "thousand and one", "thousand one"},
ordinal = {"one thousand and first", "thousand-and-first", "thousand-first"},
}
numbers = {
cardinal = "eleven hundred",
}
numbers = {
cardinal = "twelve hundred",
}
numbers = {
cardinal = "thirteen hundred",
}
numbers = {
cardinal = "fourteen hundred",
}
numbers = {
cardinal = "fifteen hundred",
}
numbers = {
cardinal = "sixteen hundred",
}
numbers = {
cardinal = "seventeen hundred",
}
numbers = {
cardinal = "eighteen hundred",
}
numbers = {
cardinal = "nineteen hundred",
}
numbers = {
cardinal = "two thousand",
ordinal = "two-thousandth",
}
numbers = {
cardinal = "twenty-one hundred",
}
numbers = {
cardinal = "twenty-two hundred",
}
numbers = {
cardinal = "twenty-three hundred",
}
numbers = {
cardinal = "three thousand",
ordinal = "three-thousandth",
}
numbers = {
cardinal = "four thousand",
ordinal = "four-thousandth",
}
numbers = {
cardinal = "five thousand",
ordinal = "five-thousandth",
}
numbers = {
cardinal = "six thousand",
ordinal = "six-thousandth",
}
numbers = {
cardinal = "seven thousand",
ordinal = "seven-thousandth",
}
numbers = {
cardinal = "eight thousand",
ordinal = "eight-thousandth",
}
numbers = {
cardinal = "nine thousand",
ordinal = "nine-thousandth",
}
numbers = {
cardinal = {"nine thousand nine hundred and ninety-nine", "nine thousand nine hundred ninety-nine", "ninety-nine hundred and ninety-nine"},
ordinal = "nine-thousand-nine-hundred-and-ninety-ninth",
}
numbers = {
cardinal = {"ten thousand", "myriad"},
ordinal = {"ten-thousandth", "myriadth"},
multiplier = {"ten-thousandfold", "myriadfold"},
germanic_collective = "myriad",
metric_collective_prefix = "myria-",
metric_fractional_prefix = "dimi-",
number_of_years = "decamillennium",
}
numbers = {
cardinal = "eleven thousand",
}
numbers = {
cardinal = "fifty thousand",
}
numbers = {
cardinal = {"hundred thousand", "one hundred thousand", "lakh"},
ordinal = {"hundred-thousandth", "one-hundred-thousandth"},
germanic_collective = "lakh",
number_of_years = "centimillennium",
}
numbers = {
cardinal = "million",
ordinal = "millionth",
multiplier = "millionfold",
metric_collective_prefix = "mega-",
metric_fractional_prefix = "micro-",
number_of_years = {"millionennium", "megannum", "megayear"},
}
numbers = {
cardinal = {"ten million", "crore"},
ordinal = "ten-millionth",
}
numbers = {
cardinal = {"one hundred million"},
ordinal = {"hundred-millionth", "one-hundred-millionth"},
}
numbers = {
cardinal = {"billion", "milliard", "thousand million"},
ordinal = {"billionth", "milliardth", "thousand-millionth"},
multiplier = {"billionfold", "milliardfold", "thousand-millionfold"},
metric_collective_prefix = "giga-",
metric_fractional_prefix = "nano-",
number_of_years = {"giga-annum", "gigayear"},
}
numbers = {
cardinal = {"trillion", "billion"},
ordinal = {"trillionth", "billionth"},
multiplier = {"trillionfold", "billionfold"},
metric_collective_prefix = "tera-",
metric_fractional_prefix = "pico-",
}
numbers = {
cardinal = {"quadrillion", "billiard"},
ordinal = {"quadrillionth", "billiardth"},
multiplier = {"quadrillionfold", "billiardfold"},
metric_collective_prefix = "peta-",
metric_fractional_prefix = "femto-",
}
numbers = {
cardinal = {"quintillion", "trillion"},
ordinal = {"quintillionth", "trillionth"},
multiplier = {"quintillionfold", "trillionfold"},
metric_collective_prefix = "exa-",
metric_fractional_prefix = "atto-",
}
numbers = {
cardinal = {"sextillion", "trilliard"},
ordinal = {"sextillionth", "trilliardth"},
multiplier = {"sextillionfold", "trilliardfold"},
metric_collective_prefix = "zetta-",
metric_fractional_prefix = "zepto-",
}
numbers = {
cardinal = {"septillion", "quadrillion"},
ordinal = {"septillionth", "quadrillionth"},
multiplier = {"septillionfold", "quadrillionfold"},
metric_collective_prefix = "yotta-",
metric_fractional_prefix = "yocto-",
}
numbers = {
cardinal = {"octillion", "quadrilliard"},
ordinal = {"octillionth", "quadrilliardth"},
multiplier = {"octillionfold", "quadrilliardfold"},
metric_collective_prefix = "ronna-",
metric_fractional_prefix = "ronto-",
}
numbers = {
cardinal = {"nonillion", "quintillion"},
ordinal = {"nonillionth", "quintillionth"},
multiplier = {"nonillionfold", "quintillionfold"},
metric_collective_prefix = "quetta-",
metric_fractional_prefix = "quecto-",
}
return export