setVariable method
Sets the value of a Tesseract variable.
Implementation
void setVariable(String name, String value) {
_variables[name] = value;
// Variables can be set only after the Tesseract
// instance is initialized. Otherwise, the variables
// can be set directly on the Tesseract instance.
if (!_needsInit) {
_setVariable(name, value);
}
}