Module:CharacterInfoboxRace

local valid = { ["Animal"] = "Animals", ["Human"] = "Humans", ["Mutant"] = "Mutants", ["Robot"] = "Robots", ["Cyborg"] = "Cyborgs", ["Aesir"] = "Aesirs", ["Amazon"] = "Amazons", ["Apokoliptian"] = "Apokoliptians", ["Asgardian"] = "Asgardians", ["Baaltarian"] = "Baaltarians", ["Bellatrixian"] = "Bellatrixians", ["Bgztlian"] = "Bgztlians", ["Bizarro"] = "Bizarros", ["Bug of New Genesis"] = "Bugs of New Genesis", ["Czarnian"] = "Czarnians", ["Demons"] = "Demons", ["Demigod"] = "Demigods", ["Dhorian"] = "Dhorians", ["Durlan"] = "Durlans", ["Exxorian"] = "Exxorians", ["Fable"] = "Fables", ["Graxonite"] = "Graxonites", ["Homo Magi"] = "Homo Magis", ["Jaydian"] = "Jaydians", ["Kalanorian"] = "Kalanorians", ["Korugaran"] = "Korugarans", ["Kryptonian"] = "Kryptonians", ["Lexorian"] = "Lexorians", ["Manhunter"] = "Manhunterss", ["Martian"] = "Martians", ["Megan"] = "Megans", ["Metahuman"] = "Metahumans", ["Muscarian"] = "Muscarians", ["Naktosian"] = "Naktosians", ["Naltorian"] = "Naltorians", ["New God"] = "New Gods", ["Oan"] = "Oans", ["Okaaran"] = "Okaarans", ["Pumice People"] = "Pumice People", ["Rannian"] = "Rannians", ["Rimborian"] = "Rimborians", ["Savothian"] = "Savothians", ["Spitroidian"] = "Spitroidians", ["Titanian"] = "Titanians", ["Un-Man"] = "Un-Men", ["Valkyrie"] = "Valkyries", ["Vampire"] = "Vampires", ["Werewolf"] = "Werewolves", ["Xanshian"] = "Xanshians", }

local substitutes = { ["a"] = { ["animal"] = "Animal", ["aisir"] = "Aesir", ["asir"] = "Aesir", ["amazon"] = "Amazon", ["apokalptian"] = "Apokoliptian", ["apocalyptian"] = "Apokoliptian", ["asgardan"] = "Asgardian", ["azgardian"] = "Asgardian",

}, ["b"] = { ["baalterian"] = "Baaltarian", ["baltarian"] = "Baaltarian", ["belatrixan"] = "Bellatrixian", ["belatrixian"] = "Bellatrixian", ["bgtzlian"] = "Bgztlian", ["bgztlan"] = "Bgztlian", ["bizzaro"] = "Bizarro", ["bizzarro"] = "Bizarro", ["bizaro"] = "Bizarro", ["bug"] = "Bugs of New Genesis",

}, ["c"] = { ["cyborg"] = "Cyborgs", ["cyborgs"] = "Cyborgs", ["cazarnan"] = "Czarnian",

}, ["d"] = { ["demon"] = "Demons", ["demons"] = "Demons", ["demigod"] = "Demigods", ["dhoran"] = "Dhorian", ["durlian"] = "Durlan",

}, ["e"] = { ["exorian"] = "Exxorian", ["exxorrian"] = "Exxorian", ["exoran"] = "Exxorian", ["exxoran"] = "Exxorian",

}, ["f"] = { ["fables"] = "Fable",

}, ["g"] = { ["graxonian"] = "Graxonite", ["graxxonite"] = "Graxonite", ["graxxonian"] = "Graxonite",

}, ["h"] = { ["homomagi"] = "Homo Magi", ["homomagian"] = "Homo Magi", ["homo magian"] = "Homo Magi", ["human being"] = "Human", ["human beings"] = "Human", ["humans"] = "Human", ["human"] = "Human",

}, ["i"] = {

}, ["j"] = { ["jaden"] = "Jaydian", ["jadian"] = "Jaydian", ["jayden"] = "Jaydian", ["jaydan"] = "Jaydian",

}, ["k"] = { ["kalanoran"] = "Kalanorian", ["korgu"] = "Korugaran", ["korugarian"] = "Korugaran", ["kriptonan"] = "Kryptonian", ["kriptonian"] = "Kryptonian", ["kryptonan"] = "Kryptonian", ["kryptonian"] = "Kryptonian",

}, ["l"] = { ["lexoran"] = "Lexorian", ["lexorian"] = "Lexorian",

}, ["m"] = { ["mutants"] = "Mutant", ["mutant"] = "Mutant", ["manhunter"] = "Manhunter", ["man hunter"] = "Manhunter", ["man hunters"] = "Manhunter", ["man-hunter "] = "Manhunters", ["man-hunters"] = "Manhunter", ["marsian"] = "Martian", ["marshan "] = "Martian", ["marsian "] = "Martian", ["martians"] = "Martian", ["meganian"] = "Megan", ["metahuman"] = "Metahuman", ["muscaran"] = "Muscarian",

}, ["n"] = { ["new genesis"] = "Bug of New Genesis", ["new genesis bug"] = "Bug of New Genesis", ["new genesis bugs"] = "Bug of New Genesis", ["nacktosian"] = "Naktosian", ["naktosan"] = "Naktosian", ["naltoran"] = "Naltorian", ["new gods"] = "New God", ["new-god"] = "New God", ["new-gods"] = "New God",

}, ["o"] = { ["oanian"] = "Oan", ["oans"] = "Oan", ["okaran"] = "Okaaran", ["okarian"] = "Okaaran", ["okaarian"] = "Okaaran",

}, ["p"] = { ["people"] = "Humans", ["person"] = "Humans", ["pumician"] = "Pumice People", ["pumice"] = "Pumice People", ["pumice person"] = "Pumice People", ["pumican"] = "Pumice People",

}, ["q"] = {

}, ["r"] = { ["robot"] = "Robots", ["robots"] = "Robots", ["ranian"] = "Rannian", ["raanian"] = "Rannian", ["rannan"] = "Rannian", ["rimboran"] = "Rimborian",

}, ["s"] = { ["slavothian"] = "Savothian", ["slavothan "] = "Savothian", ["savothan"] = "Savothian", ["spitroidan"] = "Spitroidian", ["spitroid"] = "Spitroidian",

}, ["t"] = { ["titan"] = "Titanian", ["titanan"] = "Titanian",

}, ["u"] = { ["unmen"] = "Un-Men", ["unman"] = "Un-Men", ["un men"] = "Un-Men", ["un man"] = "Un-Men", ["un-man"] = "Un-Men", ["un-manian"] = "Un-Men",

}, ["v"] = { ["valkyrie"] = "Valkyrie", ["vampire"] = "Vampire", ["vampires"] = "Vampire",

}, ["w"] = { ["werewolf"] = "Werewolf", ["wherewolf"] = "Werewolf", ["wherewolves"] = "Werewolf",

}, ["x"] = { ["xanshan"] = "Xanshian",

}, ["y"] = {

},

["z"] = {

},

}

local output = { ["valid"] = valid, ["substitutes"] = substitutes }