x5-geometry
Version:
Geometry and word processing utilities for XNet
274 lines (273 loc) • 4.72 kB
JavaScript
;
// TypeScript array of adjectives for XNet
// Created by Sint Connexa, 18 August 2022
Object.defineProperty(exports, "__esModule", { value: true });
exports.adjectives = void 0;
exports.getAdjectiveIndex = getAdjectiveIndex;
exports.getAdjectiveByIndex = getAdjectiveByIndex;
exports.isAdjective = isAdjective;
exports.getRandomAdjective = getRandomAdjective;
exports.adjectives = [
"able",
"above",
"absent",
"absolute",
"abstract",
"abundant",
"academic",
"acceptable",
"accepted",
"accessible",
"accurate",
"accused",
"active",
"actual",
"acute",
"added",
"additional",
"adequate",
"adjacent",
"administrative",
"adorable",
"advanced",
"adverse",
"advisory",
"aesthetic",
"afraid",
"aggregate",
"aggressive",
"agreeable",
"agreed",
"agricultural",
"alert",
"alive",
"alleged",
"allied",
"alone",
"alright",
"alternative",
"amateur",
"amazing",
"ambitious",
"amused",
"ancient",
"angry",
"annoyed",
"annual",
"anonymous",
"anxious",
"appalling",
"apparent",
"applicable",
"appropriate",
"arbitrary",
"architectural",
"armed",
"arrogant",
"artificial",
"artistic",
"ashamed",
"asleep",
"assistant",
"associated",
"atomic",
"attractive",
"automatic",
"autonomous",
"available",
"average",
"awake",
"aware",
"awful",
"awkward",
"back",
"bad",
"balanced",
"bare",
"basic",
"beautiful",
"beneficial",
"better",
"bewildered",
"big",
"binding",
"biological",
"bitter",
"bizarre",
"blank",
"blind",
"blonde",
"bloody",
"blushing",
"boiling",
"bold",
"bored",
"boring",
"bottom",
"brainy",
"brave",
"breakable",
"breezy",
"brief",
"bright",
"brilliant",
"broad",
"broken",
"bumpy",
"burning",
"busy",
"calm",
"capable",
"capitalist",
"careful",
"casual",
"causal",
"cautious",
"central",
"certain",
"changing",
"characteristic",
"charming",
"cheap",
"cheerful",
"chemical",
"chief",
"chilly",
"chosen",
"christian",
"chronic",
"chubby",
"circular",
"civic",
"civil",
"civilian",
"classic",
"classical",
"clean",
"clear",
"clever",
"clinical",
"close",
"closed",
"cloudy",
"clumsy",
"coastal",
"cognitive",
"coherent",
"cold",
"collective",
"colonial",
"colorful",
"colossal",
"coloured",
"colourful",
"combative",
"combined",
"comfortable",
"coming",
"commercial",
"common",
"communist",
"compact",
"comparable",
"comparative",
"compatible",
"competent",
"competitive",
"complete",
"complex",
"complicated",
"comprehensive",
"compulsory",
"conceptual",
"concerned",
"concrete",
"condemned",
"confident",
"confidential",
"confused",
"conscious",
"conservation",
"conservative",
"considerable",
"consistent",
"constant",
"constitutional",
"contemporary",
"content",
"continental",
"continued",
"continuing",
"continuous",
"controlled",
"controversial",
"convenient",
"conventional",
"convinced",
"convincing",
"cooing",
"cool",
"cooperative",
"corporate",
"correct",
"corresponding",
"costly",
"courageous",
"crazy",
"creative",
"creepy",
"criminal",
"critical",
"crooked",
"crowded",
"crucial",
"crude",
"cruel",
"cuddly",
"cultural",
"curious",
"curly",
"current",
"curved",
"cute",
"daily",
"damaged",
"damp",
"dangerous",
"dark",
"dead",
"deaf",
"deafening",
"dear",
"decent",
"decisive",
"deep",
"defeated",
"defensive",
"defiant",
"definite",
"deliberate",
"delicate",
"delicious",
"delighted",
"delightful",
"democratic",
"dependent",
"depressed",
"desirable",
"desperate",
"detailed"
];
// Helper functions for working with adjectives
function getAdjectiveIndex(word) {
return exports.adjectives.indexOf(word.toLowerCase());
}
function getAdjectiveByIndex(index) {
return exports.adjectives[index] || '';
}
function isAdjective(word) {
return getAdjectiveIndex(word) !== -1;
}
function getRandomAdjective() {
return exports.adjectives[Math.floor(Math.random() * exports.adjectives.length)];
}