Package | Description |
---|---|
squidpony |
Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code.
|
Modifier and Type | Field and Description |
---|---|
static Thesaurus |
Thesaurus.ORK
Thesaurus preset that changes all text to sound like this speaker: "Desaurus preset dat changez all text to sound
like dis speakah." You may be familiar with a certain sci-fi game that has orks who sound like this.
|
Thesaurus |
ProceduralMessaging.thesaurus |
static Thesaurus |
Thesaurus.ZOMBIE
Thesaurus preset that sharply reduces the used letters to only: a, b, g, h, m, n, r, and z.
|
Modifier and Type | Method and Description |
---|---|
Thesaurus |
Thesaurus.addArchivedCategories(java.lang.String archive)
Given an archive String saved by
archiveCategories() (probably from another version of SquidLib), this
makes the Thesaurus class act like it did in that archive, assuming the rng is seeded the same. |
Thesaurus |
Thesaurus.addArchivedCategoriesAlternate(java.lang.String archive)
Given an archive String saved by
archiveCategoriesAlternate() (probably from another version of
SquidLib), this makes the Thesaurus class act like it did in that archive, assuming the rng is seeded
the same and uses the same algorithm/RandomnessSource. |
Thesaurus |
Thesaurus.addCategory(java.lang.String keyword,
java.util.Collection<java.lang.String> synonyms)
Allows this Thesaurus to replace a specific keyword, typically containing multiple backtick characters
(
` ) so it can't be confused with a "real word," with one of the words in synonyms (chosen in shuffled
order). |
Thesaurus |
Thesaurus.addFakeWords()
Adds a large list of words pre-generated by FakeLanguageGen and hand-picked for fitness, and makes them
accessible with a keyword based on the language.
|
Thesaurus |
Thesaurus.addKnownCategories()
Adds several pre-made categories to this Thesaurus' known categories, but won't cause it to try to replace normal
words with synonyms (only categories, which contain backticks in the name).
|
Thesaurus |
Thesaurus.addReplacement(java.lang.CharSequence before,
java.lang.String after) |
Constructor and Description |
---|
ProceduralMessaging(Thesaurus existingThesaurus,
NaturalLanguageCipher existingLanguage) |
Copyright © Eben Howard 2012–2022. All rights reserved.