LanguageStore Class
data class LanguageStore(val directory: File, val languages: String)
Where OCR language data lives on disk, and which languages are installed there.
Pass the path to ScanReader when creating a reader.
Parameters
- directory — the folder holding the downloaded language files.
- languages — the installed languages, as codes joined by “+” — the form ScanReader expects.
Constructors
LanguageStore
constructor(directory: File, languages: String)
Properties
directory
val directory: File
Directory for language files
languages
val languages: String
List of languages separated by “+”