Uses of Class
squidpony.FakeLanguageGen

Packages that use 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 FakeLanguageGen FakeLanguageGen.ALIEN_A
    Fantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.
    static FakeLanguageGen FakeLanguageGen.ALIEN_E
    Fantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.
    static FakeLanguageGen FakeLanguageGen.ALIEN_I
    Fantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.
    static FakeLanguageGen FakeLanguageGen.ALIEN_O
    Fantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.
    static FakeLanguageGen FakeLanguageGen.ALIEN_U
    Fantasy/sci-fi language that could be spoken by some very-non-human culture that would typically be fitting for an alien species.
    static FakeLanguageGen FakeLanguageGen.ANCIENT_EGYPTIAN
    A (necessarily) very rough anglicization of Old Egyptian, a language that has no precisely known pronunciation rules and was written with hieroglyphics.
    static FakeLanguageGen FakeLanguageGen.ARABIC_ROMANIZED
    Imitation Arabic, using mostly the Latin alphabet but with some Greek letters for tough transliteration topics.
    static FakeLanguageGen FakeLanguageGen.CELESTIAL
    Fantasy language that is meant to sound like it could be spoken by divine or (magical) otherworldly beings.
    static FakeLanguageGen FakeLanguageGen.CHEROKEE_ROMANIZED
    A 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 FakeLanguageGen FakeLanguageGen.CHINESE_ROMANIZED
    An approximation of Hanyu Pinyin, a Romanization technique used for Mandarin Chinese that has been in common use since the 1980s.
    static FakeLanguageGen FakeLanguageGen.CROW
    A rough imitation of the Crow language of the American Midwest, using some tone marks.
    static FakeLanguageGen FakeLanguageGen.DEEP_SPEECH
    Fantasy/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.
    FakeLanguageGen Thesaurus.defaultLanguage  
    static FakeLanguageGen FakeLanguageGen.DEMONIC
    Fantasy language that might be suitable for a language spoken by demons, aggressive warriors, or people who seek to emulate or worship similar groups.
    static FakeLanguageGen FakeLanguageGen.DRAGON
    Fantasy 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 FakeLanguageGen FakeLanguageGen.ELF
    Fantasy language that tries to imitate the various languages spoken by elves in J.R.R.
    static FakeLanguageGen FakeLanguageGen.ENGLISH
    Imitation English; may seem closer to Dutch in some generated text, and is not exactly the best imitation.
    static FakeLanguageGen FakeLanguageGen.FANCY_FANTASY_NAME
    A 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 FakeLanguageGen FakeLanguageGen.FANTASY_NAME
    A 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 FakeLanguageGen FakeLanguageGen.FRENCH
    Imitation modern French, using the (many) accented vowels that are present in the language.
    static FakeLanguageGen FakeLanguageGen.GOBLIN
    Fantasy 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 FakeLanguageGen FakeLanguageGen.GREEK_AUTHENTIC
    Imitation ancient Greek, using the original Greek alphabet.
    static FakeLanguageGen FakeLanguageGen.GREEK_ROMANIZED
    Imitation ancient Greek, romanized to use the Latin alphabet.
    static FakeLanguageGen FakeLanguageGen.HINDI_ROMANIZED
    Imitation Hindi, romanized to use the Latin alphabet using accented glyphs similar to the IAST standard.
    static FakeLanguageGen FakeLanguageGen.HLETKIP
    A 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 FakeLanguageGen FakeLanguageGen.IMP
    A fantasy language meant for obnoxious screeching annoying enemies more-so than for intelligent friends or foes.
    static FakeLanguageGen FakeLanguageGen.INFERNAL
    Fantasy 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 FakeLanguageGen FakeLanguageGen.INSECT
    Fantasy/sci-fi language that would typically be fitting for an insect-like species without a close equivalent to human lips.
    static FakeLanguageGen FakeLanguageGen.INUKTITUT
    Imitation text from an approximation of one of the Inuktitut languages spoken by various people of the Arctic and nearby areas.
    static FakeLanguageGen FakeLanguageGen.JAPANESE_ROMANIZED
    Imitation Japanese, romanized to use the Latin alphabet.
    static FakeLanguageGen FakeLanguageGen.KOBOLD
    Fantasy language based closely on DRAGON, 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 FakeLanguageGen FakeLanguageGen.KOREAN_ROMANIZED
    Imitation text from an approximation of Korean, using the Revised Romanization method that is official in South Korea today and is easier to type.
    FakeLanguageGen FakeLanguageGen.SentenceForm.language  
    FakeLanguageGen NaturalLanguageCipher.language
    The FakeLanguageGen this will use to construct words; normally one of the static fields in FakeLanguageGen, a FakeLanguageGen produced by using the mixAll(Object...) method of two or more of them, or a random FakeLanguageGen produced by randomLanguage(long).
    static FakeLanguageGen FakeLanguageGen.LOVECRAFT
    Ia! Ia! Cthulhu Rl'yeh ftaghn! Useful for generating cultist ramblings or unreadable occult texts.
    static FakeLanguageGen FakeLanguageGen.MALAY
    An approximation of the Malay language or any of its close relatives, such as Indonesian.
    static FakeLanguageGen FakeLanguageGen.MAORI
    Imitation 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 FakeLanguageGen FakeLanguageGen.MONGOLIAN
    Imitation text from an approximation of one of the languages spoken in the 13th-century Mongol Empire.
    static FakeLanguageGen FakeLanguageGen.NAHUATL
    Imitation text from an approximation of the language spoken by the Aztec people and also over a million contemporary people in parts of Mexico.
    static FakeLanguageGen FakeLanguageGen.NORSE
    Somewhat close to Old Norse, which is itself very close to Icelandic, so this uses Icelandic spelling rules.
    static FakeLanguageGen FakeLanguageGen.NORSE_SIMPLIFIED
    Somewhat 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.registered
    An 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.romanizedHumanLanguages
    FakeLanguageGen 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 FakeLanguageGen FakeLanguageGen.RUSSIAN_AUTHENTIC
    Imitation modern Russian, using the authentic Cyrillic alphabet used in Russia and other countries.
    static FakeLanguageGen FakeLanguageGen.RUSSIAN_ROMANIZED
    Imitation modern Russian, romanized to use the Latin alphabet.
    static FakeLanguageGen FakeLanguageGen.SIMPLISH
    English-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 FakeLanguageGen FakeLanguageGen.SOMALI
    Imitation Somali, using the Latin alphabet.
    static FakeLanguageGen FakeLanguageGen.SPANISH
    Imitation text from an approximation of Spanish (not using the variations spoken in Spain, but closer to Latin American forms of Spanish).
    static FakeLanguageGen FakeLanguageGen.SWAHILI
    Swahili 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 FakeLanguageGen FakeLanguageGen.VIETNAMESE
    A 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.convertFakeLanguageGen  
    static OrderedMap<CharSequence,​FakeLanguageGen> Thesaurus.languages  
    ArrayList<FakeLanguageGen> Thesaurus.randomLanguages  
    Methods in squidpony that return FakeLanguageGen 
    Modifier and Type Method Description
    FakeLanguageGen FakeLanguageGen.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).
    FakeLanguageGen FakeLanguageGen.addModifiers​(Collection<FakeLanguageGen.Modifier> mods)
    Adds the specified Modifier objects from a Collection to a copy of this FakeLanguageGen and returns it.
    FakeLanguageGen FakeLanguageGen.addModifiers​(FakeLanguageGen.Modifier... mods)
    Adds the specified Modifier objects to a copy of this FakeLanguageGen and returns it.
    FakeLanguageGen FakeLanguageGen.copy()  
    static FakeLanguageGen FakeLanguageGen.deserializeFromString​(String data)  
    static FakeLanguageGen FakeLanguageGen.get​(String name)
    If a FakeLanguageGen is known and is in registered, this allows you to look up that FakeLanguageGen by name (using a name from registeredNames).
    static FakeLanguageGen FakeLanguageGen.getAt​(int index)
    If a FakeLanguageGen is known and is in registered, this allows you to look up that FakeLanguageGen by index, from 0 to FakeLanguageGen.registered.length - 1.
    FakeLanguageGen FakeLanguageGen.mix​(double myWeight, FakeLanguageGen other1, double weight1, Object... pairs)
    Produces a FakeLanguageGen by mixing this FakeLanguageGen with one or more other FakeLanguageGen objects.
    FakeLanguageGen FakeLanguageGen.mix​(FakeLanguageGen other, double otherInfluence)
    Makes a new FakeLanguageGen that mixes this object with other, mingling the consonants and vowels they use as well as any word suffixes or other traits, and favoring the qualities in other by otherInfluence, which will value both languages evenly if it is 0.5 .
    static FakeLanguageGen FakeLanguageGen.mixAll​(Object... pairs)
    Produces a FakeLanguageGen from a group of FakeLanguageGen parameters and the weights for those parameters.
    static FakeLanguageGen FakeLanguageGen.randomLanguage​(long seed)  
    static FakeLanguageGen FakeLanguageGen.randomLanguage​(IRNG rng)  
    FakeLanguageGen FakeLanguageGen.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).
    FakeLanguageGen FakeLanguageGen.removeModifiers()
    Creates a copy of this FakeLanguageGen with no modifiers.
    Methods in squidpony with parameters of type FakeLanguageGen 
    Modifier and Type Method Description
    NaturalLanguageCipher NaturalLanguageCipher.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 to NaturalLanguageCipher(FakeLanguageGen, long).
    String Thesaurus.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.
    String Thesaurus.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.
    String Thesaurus.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.
    String Thesaurus.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.
    String Thesaurus.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.
    FakeLanguageGen FakeLanguageGen.mix​(double myWeight, FakeLanguageGen other1, double weight1, Object... pairs)
    Produces a FakeLanguageGen by mixing this FakeLanguageGen with one or more other FakeLanguageGen objects.
    FakeLanguageGen FakeLanguageGen.mix​(FakeLanguageGen other, double otherInfluence)
    Makes a new FakeLanguageGen that mixes this object with other, mingling the consonants and vowels they use as well as any word suffixes or other traits, and favoring the qualities in other by otherInfluence, 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 specified shift as 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 for FakeLanguageGen.SentenceForm.rng, which will be made based on FakeLanguageGen's static srng field, 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 for FakeLanguageGen.SentenceForm.rng, which will be made based on FakeLanguageGen's static srng field.
    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 for rng, 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
    FakeLanguageGen FantasyPoliticalMapper.Faction.language  
    Fields in squidpony.squidgrid.mapping with type parameters of type FakeLanguageGen 
    Modifier and Type Field Description
    OrderedMap<Character,​List<FakeLanguageGen>> PoliticalMapper.spokenLanguages
    Maps 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).