Uses of Class
squidpony.Thesaurus
| Package | Description | 
|---|---|
| squidpony | 
 Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code. 
 | 
- 
Uses of Thesaurus in squidpony
Fields in squidpony declared as Thesaurus Modifier and Type Field Description static ThesaurusThesaurus. ORKThesaurus 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.ThesaurusProceduralMessaging. thesaurusMethods in squidpony that return Thesaurus Modifier and Type Method Description ThesaurusThesaurus. addArchivedCategories(String archive)Given an archive String saved byarchiveCategories()(probably from another version of SquidLib), this makes the Thesaurus class act like it did in that archive, assuming therngis seeded the same.ThesaurusThesaurus. addCategory(String keyword, Collection<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).ThesaurusThesaurus. 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.ThesaurusThesaurus. 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).ThesaurusThesaurus. addReplacement(CharSequence before, String after)Constructors in squidpony with parameters of type Thesaurus Constructor Description ProceduralMessaging(Thesaurus existingThesaurus, NaturalLanguageCipher existingLanguage)