Uses of Class
squidpony.FakeLanguageGen
| Package | Description |
|---|---|
| squidpony |
Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code.
|
| squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
-
Uses of FakeLanguageGen in squidpony
Fields in squidpony declared as FakeLanguageGen Modifier and Type Field Description static FakeLanguageGenFakeLanguageGen. ALIEN_AFantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.static FakeLanguageGenFakeLanguageGen. ALIEN_EFantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.static FakeLanguageGenFakeLanguageGen. ALIEN_IFantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.static FakeLanguageGenFakeLanguageGen. ALIEN_OFantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.static FakeLanguageGenFakeLanguageGen. ALIEN_UFantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.static FakeLanguageGenFakeLanguageGen. ANCIENT_EGYPTIANA (necessarily) very rough anglicization of Old Egyptian, a language that has no precisely known pronunciation rules and was written with hieroglyphics.static FakeLanguageGenFakeLanguageGen. ARABIC_ROMANIZEDImitation Arabic, using mostly the Latin alphabet but with some Greek letters for tough transliteration topics.static FakeLanguageGenFakeLanguageGen. CELESTIALFantasy language that is meant to sound like it could be spoken by divine or (magical) otherworldly beings.static FakeLanguageGenFakeLanguageGen. CHEROKEE_ROMANIZEDA rough imitation of the Cherokee language, using an attempt at romanizing the syllabary the language is often written with, using only the parts of the language that are usually written down.static FakeLanguageGenFakeLanguageGen. CHINESE_ROMANIZEDAn approximation of Hanyu Pinyin, a Romanization technique used for Mandarin Chinese that has been in common use since the 1980s.static FakeLanguageGenFakeLanguageGen. CROWA rough imitation of the Crow language of the American Midwest, using some tone marks.static FakeLanguageGenFakeLanguageGen. DEEP_SPEECHFantasy/sci-fi language that would potentially be fitting for a trade language spoken by various very-different groups, such as creatures with tentacled faces who need to communicate with spider-elves and living crystals.FakeLanguageGenThesaurus. defaultLanguagestatic FakeLanguageGenFakeLanguageGen. DEMONICFantasy language that might be suitable for a language spoken by demons, aggressive warriors, or people who seek to emulate or worship similar groups.static FakeLanguageGenFakeLanguageGen. DRAGONFantasy language that tries to sound like the speech of a powerful and pompous dragon, using long, complex words and a mix of hard consonants like "t" and "k", "liquid" consonants like "l" and "r", and sometimes vowel groups like "ie" and "aa".static FakeLanguageGenFakeLanguageGen. ELFFantasy language that tries to imitate the various languages spoken by elves in J.R.R.static FakeLanguageGenFakeLanguageGen. ENGLISHImitation English; may seem closer to Dutch in some generated text, and is not exactly the best imitation.static FakeLanguageGenFakeLanguageGen. FANCY_FANTASY_NAMEA mix of four different languages with some accented characters added onto an ASCII base, that can be good for generating single words for creature or place names in fantasy settings that should have a "fancy" feeling from having unnecessary accents added primarily for visual reasons.static FakeLanguageGenFakeLanguageGen. FANTASY_NAMEA mix of four different languages, using only ASCII characters, that is meant for generating single words for creature or place names in fantasy settings.static FakeLanguageGenFakeLanguageGen. FRENCHImitation modern French, using the (many) accented vowels that are present in the language.static FakeLanguageGenFakeLanguageGen. GOBLINFantasy language that might be suitable for stealthy humanoids, such as goblins, or as a secret language used by humans who want to avoid notice.static FakeLanguageGenFakeLanguageGen. GREEK_AUTHENTICImitation ancient Greek, using the original Greek alphabet.static FakeLanguageGenFakeLanguageGen. GREEK_ROMANIZEDImitation ancient Greek, romanized to use the Latin alphabet.static FakeLanguageGenFakeLanguageGen. HINDI_ROMANIZEDImitation Hindi, romanized to use the Latin alphabet using accented glyphs similar to the IAST standard.static FakeLanguageGenFakeLanguageGen. HLETKIPA fictional language that could ostensibly be spoken by some group of humans, but that isn't closely based on any one real-world language.static FakeLanguageGenFakeLanguageGen. IMPA fantasy language meant for obnoxious screeching annoying enemies more-so than for intelligent friends or foes.static FakeLanguageGenFakeLanguageGen. INFERNALFantasy language that might be suitable for a language spoken by fiends, users of witchcraft, or people who seek to emulate or worship similar groups.static FakeLanguageGenFakeLanguageGen. INSECTFantasy/sci-fi language that would typically be fitting for an insect-like species without a close equivalent to human lips.static FakeLanguageGenFakeLanguageGen. INUKTITUTImitation text from an approximation of one of the Inuktitut languages spoken by various people of the Arctic and nearby areas.static FakeLanguageGenFakeLanguageGen. JAPANESE_ROMANIZEDImitation Japanese, romanized to use the Latin alphabet.static FakeLanguageGenFakeLanguageGen. KOBOLDFantasy language based closely onDRAGON, but with much shorter words normally and closing syllables that may sound "rushed" or "crude", though it has the same general frequency of most consonants and vowels.static FakeLanguageGenFakeLanguageGen. KOREAN_ROMANIZEDImitation text from an approximation of Korean, using the Revised Romanization method that is official in South Korea today and is easier to type.FakeLanguageGenFakeLanguageGen.SentenceForm. languageFakeLanguageGenNaturalLanguageCipher. languageThe FakeLanguageGen this will use to construct words; normally one of the static fields in FakeLanguageGen, a FakeLanguageGen produced by using themixAll(Object...)method of two or more of them, or a random FakeLanguageGen produced byrandomLanguage(long).static FakeLanguageGenFakeLanguageGen. LOVECRAFTIa! Ia! Cthulhu Rl'yeh ftaghn! Useful for generating cultist ramblings or unreadable occult texts.static FakeLanguageGenFakeLanguageGen. MALAYAn approximation of the Malay language or any of its close relatives, such as Indonesian.static FakeLanguageGenFakeLanguageGen. MAORIImitation text from an approximation of the Maori language, spoken in New Zealand both today and historically, and closely related to some other Polynesian languages.static FakeLanguageGenFakeLanguageGen. MONGOLIANImitation text from an approximation of one of the languages spoken in the 13th-century Mongol Empire.static FakeLanguageGenFakeLanguageGen. NAHUATLImitation text from an approximation of the language spoken by the Aztec people and also over a million contemporary people in parts of Mexico.static FakeLanguageGenFakeLanguageGen. NORSESomewhat close to Old Norse, which is itself very close to Icelandic, so this uses Icelandic spelling rules.static FakeLanguageGenFakeLanguageGen. NORSE_SIMPLIFIEDSomewhat close to Old Norse, which is itself very close to Icelandic, but changed to avoid letters not on a US-ASCII keyboard.static FakeLanguageGen[]FakeLanguageGen. registeredAn array that stores all the hand-made FakeLanguageGen constants; it does not store randomly-generated languages nor does it store modifications or mixes of languages.static FakeLanguageGen[]FakeLanguageGen. romanizedHumanLanguagesFakeLanguageGen constants that are meant to sound like specific real-world languages, and that all use the Latin script (like English) with maybe some accents.static FakeLanguageGenFakeLanguageGen. RUSSIAN_AUTHENTICImitation modern Russian, using the authentic Cyrillic alphabet used in Russia and other countries.static FakeLanguageGenFakeLanguageGen. RUSSIAN_ROMANIZEDImitation modern Russian, romanized to use the Latin alphabet.static FakeLanguageGenFakeLanguageGen. SIMPLISHEnglish-like language that omits complex spelling and doesn't include any of the uncommon word endings of English like "ought" or "ation." A good choice when you want something that doesn't use any non-US-keyboard letters, looks somewhat similar to English, and tries to be pronounceable without too much effort.static FakeLanguageGenFakeLanguageGen. SOMALIImitation Somali, using the Latin alphabet.static FakeLanguageGenFakeLanguageGen. SPANISHImitation text from an approximation of Spanish (not using the variations spoken in Spain, but closer to Latin American forms of Spanish).static FakeLanguageGenFakeLanguageGen. SWAHILISwahili is one of the more commonly-spoken languages in sub-Saharan Africa, and serves mainly as a shared language that is often learned after becoming fluent in one of many other (vaguely-similar) languages of the area.static FakeLanguageGenFakeLanguageGen. VIETNAMESEA very rough imitation of the Vietnamese language, without using the accurate characters Vietnamese really uses but that are rare in fonts.Fields in squidpony with type parameters of type FakeLanguageGen Modifier and Type Field Description static StringConvert<FakeLanguageGen>Converters. convertFakeLanguageGenstatic OrderedMap<CharSequence,FakeLanguageGen>Thesaurus. languagesArrayList<FakeLanguageGen>Thesaurus. randomLanguagesMethods in squidpony that return FakeLanguageGen Modifier and Type Method Description FakeLanguageGenFakeLanguageGen. addAccents(double vowelInfluence, double consonantInfluence)Produces a new FakeLanguageGen like this one but with extra vowels and/or consonants possible, adding from a wide selection of accented vowels (if vowelInfluence is above 0.0) and/or consonants (if consonantInfluence is above 0.0).FakeLanguageGenFakeLanguageGen. addModifiers(Collection<FakeLanguageGen.Modifier> mods)Adds the specified Modifier objects from a Collection to a copy of this FakeLanguageGen and returns it.FakeLanguageGenFakeLanguageGen. addModifiers(FakeLanguageGen.Modifier... mods)Adds the specified Modifier objects to a copy of this FakeLanguageGen and returns it.FakeLanguageGenFakeLanguageGen. copy()static FakeLanguageGenFakeLanguageGen. deserializeFromString(String data)static FakeLanguageGenFakeLanguageGen. get(String name)If a FakeLanguageGen is known and is inregistered, this allows you to look up that FakeLanguageGen by name (using a name fromregisteredNames).static FakeLanguageGenFakeLanguageGen. getAt(int index)If a FakeLanguageGen is known and is inregistered, this allows you to look up that FakeLanguageGen by index, from 0 toFakeLanguageGen.registered.length - 1.FakeLanguageGenFakeLanguageGen. mix(double myWeight, FakeLanguageGen other1, double weight1, Object... pairs)Produces a FakeLanguageGen by mixing this FakeLanguageGen with one or more other FakeLanguageGen objects.FakeLanguageGenFakeLanguageGen. mix(FakeLanguageGen other, double otherInfluence)Makes a new FakeLanguageGen that mixes this object withother, mingling the consonants and vowels they use as well as any word suffixes or other traits, and favoring the qualities inotherbyotherInfluence, which will value both languages evenly if it is 0.5 .static FakeLanguageGenFakeLanguageGen. mixAll(Object... pairs)Produces a FakeLanguageGen from a group of FakeLanguageGen parameters and the weights for those parameters.static FakeLanguageGenFakeLanguageGen. randomLanguage(long seed)static FakeLanguageGenFakeLanguageGen. randomLanguage(IRNG rng)FakeLanguageGenFakeLanguageGen. removeAccents()Useful for cases with limited fonts, this produces a new FakeLanguageGen like this one but with all accented characters removed (including almost all non-ASCII Latin-alphabet characters, but only some Greek and Cyrillic characters).FakeLanguageGenFakeLanguageGen. removeModifiers()Creates a copy of this FakeLanguageGen with no modifiers.Methods in squidpony with parameters of type FakeLanguageGen Modifier and Type Method Description NaturalLanguageCipherNaturalLanguageCipher. initialize(FakeLanguageGen language, long shift)Changes the language this can cipher, clearing its known translation (if any) and using the given FakeLanguageGen and shift as if given toNaturalLanguageCipher(FakeLanguageGen, long).StringThesaurus. makeFlowerName(FakeLanguageGen language)Generates a random possible name for a plant or tree, such as "tulip of Jirui" or "Komert's thorny lilac", with the FakeLanguageGen already available instead of randomly created.StringThesaurus. makeFruitName(FakeLanguageGen language)Generates a random possible name for a plant or tree, such as "green lime-melon" or "Ung's date", with the FakeLanguageGen already available instead of randomly created.StringThesaurus. makeNationName(FakeLanguageGen language)Generates a random possible name for a nation, such as "Iond-Gouccief Alliance" or "The Last Drayo Commonwealth", with the FakeLanguageGen already available instead of randomly created.StringThesaurus. makeNutName(FakeLanguageGen language)Generates a random possible name for a plant or tree, such as "nut of Gikoim" or "Pelyt's cashew", with the FakeLanguageGen already available instead of randomly created.StringThesaurus. makePlantName(FakeLanguageGen language)Generates a random possible name for a plant or tree, such as "Ikesheha's maple" or "sugarleaf birch", with the FakeLanguageGen already available instead of randomly created.FakeLanguageGenFakeLanguageGen. mix(double myWeight, FakeLanguageGen other1, double weight1, Object... pairs)Produces a FakeLanguageGen by mixing this FakeLanguageGen with one or more other FakeLanguageGen objects.FakeLanguageGenFakeLanguageGen. mix(FakeLanguageGen other, double otherInfluence)Makes a new FakeLanguageGen that mixes this object withother, mingling the consonants and vowels they use as well as any word suffixes or other traits, and favoring the qualities inotherbyotherInfluence, which will value both languages evenly if it is 0.5 .Constructors in squidpony with parameters of type FakeLanguageGen Constructor Description NaturalLanguageCipher(FakeLanguageGen language)Constructs a NaturalLanguageCipher that will use the given style of language generator to produce its text.NaturalLanguageCipher(FakeLanguageGen language, long shift)Constructs a NaturalLanguageCipher that will use the given style of language generator to produce its text, using the specifiedshiftas a long to modify the generated words from the language's normal results.ProceduralMessaging(long seed, FakeLanguageGen nameLanguage)SentenceForm(FakeLanguageGen language, int minWords, int maxWords)Builds a SentenceForm with only a few fields specified.SentenceForm(FakeLanguageGen language, int minWords, int maxWords, String[] midPunctuation, String[] endPunctuation, double midPunctuationFrequency)Builds a SentenceForm with all fields specified except forFakeLanguageGen.SentenceForm.rng, which will be made based on FakeLanguageGen's staticsrngfield, and maxChars, which means the sentence length will be limited only by maxWords and the length of words produced.SentenceForm(FakeLanguageGen language, int minWords, int maxWords, String[] midPunctuation, String[] endPunctuation, double midPunctuationFrequency, int maxChars)Builds a SentenceForm with all fields specified except forFakeLanguageGen.SentenceForm.rng, which will be made based on FakeLanguageGen's staticsrngfield.SentenceForm(FakeLanguageGen language, IStatefulRNG rng, int minWords, int maxWords, String[] midPunctuation, String[] endPunctuation, double midPunctuationFrequency, int maxChars)Builds a SentenceForm with all fields specified; each value is referenced directly except forrng, which will not change or be directly referenced (a new GWTRNG will be used with the same state value). -
Uses of FakeLanguageGen in squidpony.squidgrid.mapping
Fields in squidpony.squidgrid.mapping declared as FakeLanguageGen Modifier and Type Field Description FakeLanguageGenFantasyPoliticalMapper.Faction. languageFields in squidpony.squidgrid.mapping with type parameters of type FakeLanguageGen Modifier and Type Field Description OrderedMap<Character,List<FakeLanguageGen>>PoliticalMapper. spokenLanguagesMaps chars, as found in the returned array from generate(), to Strings that store the languages spoken in those nations, which could be user-assigned, unassigned, or randomly-generated.Methods in squidpony.squidgrid.mapping with parameters of type FakeLanguageGen Modifier and Type Method Description static ArrayList<String>WildMap. makeVegetation(IRNG rng, int size, double monoculture, FakeLanguageGen naming)Method parameters in squidpony.squidgrid.mapping with type arguments of type FakeLanguageGen Modifier and Type Method Description char[][]PoliticalMapper. generate(WorldMapGenerator wmg, OrderedMap<Character,FakeLanguageGen> atlasLanguages, double controlledFraction)Produces a political map for the land stored in the given WorldMapGenerator, with the given number of factions trying to take land in the world (essentially, nations).char[][]PoliticalMapper. generate(GreasedRegion land, OrderedMap<Character,FakeLanguageGen> atlasLanguages, double controlledFraction)Produces a political map for the land stored in the "on" cells of the given GreasedRegion, with the given number of factions trying to take land in the world (essentially, nations).Constructors in squidpony.squidgrid.mapping with parameters of type FakeLanguageGen Constructor Description Faction(FakeLanguageGen language)Constructor that sets the language to the specified FakeLanguageGen, then generates a name/shortName with that FakeLanguageGen, and makes the only blocked biome "Ocean".Faction(FakeLanguageGen language, String name)Constructor that sets the language to the specified FakeLanguageGen, sets the name and shortName to the specified name, and makes the only blocked biome "Ocean".Faction(FakeLanguageGen language, String name, String shortName)Constructor that sets the language to the specified FakeLanguageGen, sets the name to the specified name and the shortName to the specified shortName, and makes the only blocked biome "Ocean".Faction(FakeLanguageGen language, String name, String shortName, String[] preferredBiomes)Constructor that sets the language to the specified FakeLanguageGen, sets the name to the specified name and the shortName to the specified shortName, sets the preferredBiomes to be a Set containing the given Strings in preferredBiomes, and makes the only blocked biome "Ocean".Faction(FakeLanguageGen language, String name, String shortName, String[] preferredBiomes, String[] blockedBiomes)Constructor that sets the language to the specified FakeLanguageGen, sets the name to the specified name and the shortName to the specified shortName, sets the preferredBiomes to be a Set containing the given Strings in preferredBiomes, and sets the blocked biomes to be a Set containing exactly the given Strings in blockedBiomes.Faction(FakeLanguageGen language, String name, String shortName, String[] preferredBiomes, String[] blockedBiomes, int[] preferredHeight)Constructor that sets the language to the specified FakeLanguageGen, sets the name to the specified name and the shortName to the specified shortName, sets the preferredBiomes to be a Set containing the given Strings in preferredBiomes, sets the blocked biomes to be a Set containing exactly the given Strings in blockedBiomes, and sets the preferred height codes to the ints in preferredHeight (with 4 being sea level and 8 being the highest peaks).Faction(FakeLanguageGen language, String name, String shortName, String[] preferredBiomes, String[] blockedBiomes, int[] preferredHeight, int[] preferredHeat)Constructor that sets the language to the specified FakeLanguageGen, sets the name to the specified name and the shortName to the specified shortName, sets the preferredBiomes to be a Set containing the given Strings in preferredBiomes, sets the blocked biomes to be a Set containing exactly the given Strings in blockedBiomes, sets the preferred height codes to the ints in preferredHeight (with 4 being sea level and 8 being the highest peaks), and sets the preferred heat codes to the ints in preferredHeat (with the exact values depending on the BiomeMapper, but usually 0-5 range from coldest to hottest).Faction(FakeLanguageGen language, String name, String shortName, String[] preferredBiomes, String[] blockedBiomes, int[] preferredHeight, int[] preferredHeat, int[] preferredMoisture)Constructor that sets the language to the specified FakeLanguageGen, sets the name to the specified name and the shortName to the specified shortName, sets the preferredBiomes to be a Set containing the given Strings in preferredBiomes, sets the blocked biomes to be a Set containing exactly the given Strings in blockedBiomes, sets the preferred height codes to the ints in preferredHeight (with 4 being sea level and 8 being the highest peaks), sets the preferred heat codes to the ints in preferredHeat (with the exact values depending on the BiomeMapper, but usually 0-5 range from coldest to hottest), and sets the preferred moisture codes to the ints in preferredMoisture (withe the exact values depending on the BiomeMapper, but usually 0-5 range from driest to wettest).