class BundledDictionary : Dictionary
A Dictionary
of which the underlying file is a resource in the JAR.
val filename: String
the path to the resource file |
|
val words: Set<String>
The words in the dictionary. |
fun toString(): String
Returns a human-readable string of the dictionary's filename. |
|
fun validate(): Unit
Throws an InvalidDictionaryException iff this dictionary is currently invalid. |
open fun isValid(): Boolean
Returns |
val cache: Cache<String, BundledDictionary>
The cache of bundled dictionaries, used to improve word generation times. |
|
const val EXTENDED_DICTIONARY: String
The location of an extended English dictionary. |
|
const val SIMPLE_DICTIONARY: String
The location of a simple English dictionary. |