Package | Description |
---|---|
squidpony |
Utilities that don't fit elsewhere in SquidLib, like text manipulation, some interfaces, and compatibility code.
|
Modifier and Type | Method and Description |
---|---|
LanguageCipher |
LanguageCipher.learnTranslation(Map<String,String> vocabulary,
String sourceWord)
Adds a translation pair to vocabulary so it can be used in decipher, giving a correct translation for sourceWord.
|
LanguageCipher |
LanguageCipher.learnTranslations(Map<String,String> vocabulary,
Iterable<String> sourceWords)
Adds translation pairs to vocabulary so it can be used in decipher, giving a correct translation for sourceWords.
|
LanguageCipher |
LanguageCipher.learnTranslations(Map<String,String> vocabulary,
String... sourceWords)
Adds translation pairs to vocabulary so it can be used in decipher, giving a correct translation for sourceWords.
|
LanguageCipher |
LanguageCipher.mismatchTranslation(Map<String,String> vocabulary,
String correctWord,
String mismatchWord)
Adds a translation pair to vocabulary so it can be used in decipher, giving a typically-incorrect translation for
correctWord where it provides mismatchWord instead when the ciphered version of correctWord appears.
|
Constructor and Description |
---|
LanguageCipher(LanguageCipher other)
Copies another LanguageCipher and constructs this one with the information in the other.
|
Copyright © 2012–2016. All rights reserved.