Current section
Files
Jump to
Current section
Files
lib/xl_faker/adjective.ex
defmodule XlFaker.Adjective do
@moduledoc false
@adjectives {
"babyish",
"back",
"bad",
"baggy",
"bald",
"bare",
"barren",
"basic",
"belated",
"beloved",
"best",
"better",
"big",
"bitter",
"black",
"bland",
"blank",
"blaring",
"blazing",
"bleak",
"blind",
"blissful",
"blond",
"blue",
"blushing",
"bogus",
"boiling",
"bold",
"bony",
"boring",
"bossy",
"both",
"bouncy",
"bowed",
"brave",
"breezy",
"brief",
"bright",
"brisk",
"broken",
"bronze",
"brown",
"bruised",
"bubbly",
"bulky",
"bumpy",
"buoyant",
"burly",
"bustling",
"busy",
"buttery",
"buzzing",
"calm",
"candid",
"canine",
"capital",
"carefree",
"careful",
"careless",
"caring",
"cautious",
"cerulean",
"charming",
"cheap",
"cheerful",
"cheery",
"chic",
"chief",
"chilly",
"chipper",
"chubby",
"cinnamon",
"circular",
"classic",
"clean",
"clear",
"clever",
"close",
"closed",
"cloudy",
"clueless",
"clumsy",
"coarse",
"cohesive",
"cold",
"colorful",
"colossal",
"comical",
"common",
"complete",
"complex",
"composed",
"concrete",
"confused",
"constant",
"content",
"cooked",
"cool",
"corny",
"corrupt",
"costly",
"crafty",
"crazy",
"creamy",
"creative",
"creepy",
"criminal",
"crimson",
"crisp",
"critical",
"crooked",
"crowded",
"cruel",
"crushing",
"cuddly",
"cultured",
"curly",
"curvy",
"cute",
"damaged",
"damp",
"dapper",
"daring",
"dark",
"darling",
"dawn",
"dazzling",
"dead",
"deadly",
"dear",
"dearest",
"decaying",
"decent",
"decimal",
"decisive",
"deep",
"defiant",
"definite",
"delayed",
"delicate",
"dense",
"dental",
"deserted",
"detailed",
"devoted",
"digital",
"diligent",
"dim",
"dimpled",
"direct",
"dirty",
"discrete",
"disloyal",
"dismal",
"distant",
"distinct",
"divine",
"dizzy",
"dopey",
"doting",
"double",
"drab",
"drafty",
"dramatic",
"dreary",
"droopy",
"dry",
"dual",
"dull",
"dutiful",
"dynamic",
"fabulous",
"failing",
"faint",
"fair",
"faithful",
"fake",
"falling",
"false",
"familiar",
"famous",
"fancy",
"far",
"far-off",
"faraway",
"fast",
"fat",
"fatal",
"fatherly",
"favorite",
"fearful",
"fearless",
"feisty",
"feline",
"female",
"feminine",
"few",
"fickle",
"fierce",
"fiery",
"filthy",
"fine",
"finished",
"firm",
"first",
"fit",
"fitting",
"fixed",
"flabby",
"flaky",
"flashy",
"flat",
"flawed",
"flawless",
"flimsy",
"flippant",
"floral",
"flowery",
"fluffy",
"fluid",
"focused",
"fond",
"foolish",
"forceful",
"forked",
"formal",
"forsaken",
"fragrant",
"frail",
"frank",
"frayed",
"free",
"french",
"frequent",
"fresh",
"friendly",
"frigid",
"frilly",
"frizzy",
"front",
"frosty",
"frozen",
"frugal",
"fruitful",
"full",
"fumbling",
"funny",
"fussy",
"fuzzy",
"gaseous",
"general",
"generous",
"gentle",
"genuine",
"giant",
"giddy",
"gifted",
"gigantic",
"giving",
"glaring",
"glass",
"gleaming",
"gleeful",
"gloomy",
"glorious",
"glossy",
"glum",
"golden",
"good",
"gorgeous",
"graceful",
"gracious",
"grand",
"granular",
"grateful",
"grave",
"gray",
"greasy",
"great",
"greedy",
"green",
"grim",
"grimy",
"gripping",
"grizzled",
"gross",
"grouchy",
"grounded",
"growing",
"growling",
"grown",
"grubby",
"gruesome",
"grumpy",
"guilty",
"gullible",
"gummy",
"hairy",
"half",
"handmade",
"handsome",
"handy",
"happy",
"hard",
"harmful",
"harmless",
"harsh",
"hasty",
"hateful",
"haunting",
"healthy",
"hearty",
"heavenly",
"heavy",
"hefty",
"helpful",
"helpless",
"heroic",
"hidden",
"hideous",
"high",
"hoarse",
"hollow",
"holy",
"homely",
"honest",
"honored",
"hopeful",
"horrible",
"hot",
"huge",
"humble",
"humming",
"hungry",
"hurtful",
"husky",
"hypnotic",
"jaded",
"jagged",
"jaunty",
"jealous",
"jittery",
"joint",
"jolly",
"jovial",
"joyful",
"joyous",
"jubilant",
"juicy",
"jumbo",
"jumpy",
"junior",
"juvenile",
"keen",
"key",
"kind",
"kindly",
"klutzy",
"knobby",
"knotty",
"knowing",
"known",
"kooky",
"kosher",
"lame",
"lanky",
"large",
"last",
"lasting",
"late",
"lavish",
"lawful",
"lazy",
"leading",
"leafy",
"lean",
"left",
"legal",
"light",
"likable",
"likely",
"limited",
"limp",
"limping",
"linear",
"lined",
"liquid",
"little",
"live",
"lively",
"livid",
"lone",
"lonely",
"long",
"loose",
"lopsided",
"lost",
"loud",
"lovable",
"lovely",
"loving",
"low",
"loyal",
"lucky",
"luminous",
"lumpy",
"lustrous",
"mad",
"made-up",
"majestic",
"major",
"male",
"mammoth",
"married",
"massive",
"mature",
"meager",
"mealy",
"mean",
"measly",
"meaty",
"medical",
"mediocre",
"medium",
"meek",
"mellow",
"melodic",
"melted",
"menacing",
"merry",
"messy",
"metallic",
"mighty",
"mild",
"milky",
"mindless",
"minor",
"minty",
"mirthful",
"miserly",
"misty",
"mixed",
"modern",
"modest",
"moist",
"moldy",
"monthly",
"moral",
"morning",
"motherly",
"muddy",
"muffled",
"mundane",
"murky",
"muscular",
"mushy",
"musty",
"muted",
"mystical",
"naive",
"nameless",
"narrow",
"nasty",
"natural",
"naughty",
"nautical",
"near",
"neat",
"needy",
"negative",
"nervous",
"new",
"next",
"nice",
"nifty",
"nimble",
"nippy",
"noisy",
"nonstop",
"normal",
"notable",
"noted",
"novel",
"noxious",
"numb",
"nutty",
"pale",
"paltry",
"parallel",
"parched",
"partial",
"past",
"pastel",
"patient",
"peaceful",
"peppery",
"perfect",
"perfumed",
"periodic",
"perky",
"personal",
"pesky",
"petite",
"petty",
"phony",
"physical",
"piercing",
"pink",
"pitiful",
"plain",
"plastic",
"playful",
"pleasant",
"pleased",
"pleasing",
"plump",
"plush",
"poignant",
"pointed",
"poised",
"polished",
"polite",
"poor",
"popular",
"portly",
"posh",
"positive",
"possible",
"potable",
"powerful",
"precious",
"present",
"pretty",
"previous",
"pricey",
"prickly",
"primary",
"prime",
"pristine",
"private",
"prize",
"probable",
"profound",
"profuse",
"proper",
"proud",
"prudent",
"punctual",
"pungent",
"puny",
"pure",
"purple",
"pushy",
"putrid",
"puzzled",
"puzzling",
"quaint",
"queasy",
"quick",
"quiet",
"quirky",
"quixotic",
"radiant",
"ragged",
"rancid",
"rapid",
"rare",
"rash",
"raw",
"ready",
"real",
"recent",
"reckless",
"red",
"regal",
"regular",
"reliable",
"relieved",
"remote",
"required",
"restless",
"rich",
"right",
"rigid",
"ringed",
"ripe",
"roasted",
"robust",
"rosy",
"rotating",
"rotten",
"rough",
"round",
"rowdy",
"royal",
"rubbery",
"ruddy",
"rude",
"rundown",
"runny",
"rural",
"rusty",
"sad",
"safe",
"salty",
"same",
"sandy",
"sane",
"sardonic",
"savory",
"scaly",
"scarce",
"scared",
"scary",
"scented",
"scornful",
"scratchy",
"scrawny",
"scruffy",
"second",
"secret",
"selfish",
"separate",
"serene",
"serious",
"several",
"severe",
"shabby",
"shadowy",
"shady",
"shaggy",
"shallow",
"shameful",
"sharp",
"shiny",
"shocked",
"shocking",
"shoddy",
"short",
"showy",
"shrill",
"shy",
"sick",
"silent",
"silky",
"silly",
"silver",
"similar",
"simple",
"sinful",
"single",
"sizzling",
"skeletal",
"skinny",
"sleepy",
"slight",
"slim",
"slimy",
"slippery",
"slow",
"slushy",
"small",
"smart",
"smoggy",
"smooth",
"smug",
"snappy",
"snarling",
"sneaky",
"snoopy",
"snowy",
"sociable",
"soft",
"soggy",
"solid",
"solitary",
"somber",
"some",
"soothing",
"sore",
"soulful",
"soupy",
"sour",
"spanish",
"sparse",
"specific",
"speedy",
"spicy",
"spiffy",
"spirited",
"spiteful",
"splendid",
"spotless",
"spotted",
"spring",
"spry",
"square",
"squeaky",
"squiggly",
"stable",
"staid",
"stained",
"stale",
"standard",
"starchy",
"stark",
"starry",
"steel",
"steep",
"stellar",
"sticky",
"stiff",
"still",
"stingy",
"stocky",
"stormy",
"straight",
"strange",
"strict",
"strident",
"striking",
"striped",
"strong",
"studious",
"stunning",
"stupid",
"sturdy",
"stylish",
"subdued",
"sublime",
"subtle",
"suburban",
"sudden",
"sugary",
"summer",
"sunny",
"super",
"superb",
"superior",
"svelte",
"sweaty",
"sweet",
"swift",
"tall",
"tame",
"tan",
"tangible",
"tangy",
"tart",
"tasty",
"tattered",
"taut",
"tedious",
"teeming",
"teeny",
"tempting",
"tender",
"tense",
"tepid",
"terrible",
"terrific",
"testy",
"thankful",
"that",
"these",
"thick",
"thin",
"third",
"thirsty",
"this",
"thorny",
"thorough",
"those",
"thrifty",
"thriving",
"tidy",
"tight",
"timely",
"tinted",
"tiny",
"tired",
"torn",
"total",
"tough",
"tragic",
"trained",
"tranquil",
"tricky",
"trifling",
"trim",
"trivial",
"tropical",
"troubled",
"true",
"trusting",
"trusty",
"truthful",
"tubby",
"twilight",
"twin",
"vacant",
"vague",
"vain",
"valid",
"valuable",
"vapid",
"variable",
"vast",
"velvety",
"vengeful",
"vibrant",
"vicious",
"vigilant",
"vigorous",
"violent",
"violet",
"virtual",
"virtuous",
"visible",
"vital",
"vivid",
"wan",
"warlike",
"warm",
"warped",
"wary",
"wasteful",
"watchful",
"watery",
"wavy",
"weak",
"wealthy",
"weary",
"webbed",
"wee",
"weekly",
"weepy",
"weighty",
"weird",
"welcome",
"well-lit",
"well-off",
"wet",
"which",
"white",
"whole",
"whopping",
"wicked",
"wide",
"wiggly",
"wild",
"willing",
"wilted",
"winding",
"windy",
"winged",
"winsome",
"wiry",
"wise",
"wispy",
"withered",
"witty",
"wobbly",
"woeful",
"wooden",
"woozy",
"wordy",
"worldly",
"worn",
"worried",
"worse",
"worst",
"worthy",
"wrathful",
"wrong",
"yawning",
"yearly",
"yellow",
"young",
"youthful",
"yummy",
"zealous",
"zesty"
}
@adjective_count tuple_size(@adjectives)
@default_probability 0.5
def prepend_random_adjective(list, opts) do
probability = Keyword.get(opts, :probability, @default_probability)
if :rand.uniform() < probability do
prepend_random_adjective(list)
else
list
end
end
def prepend_random_adjective(list) do
[random_adjective() | list]
end
def random_adjective do
elem(
@adjectives,
:rand.uniform(@adjective_count) - 1
)
end
end