public void addOtherTesseractConfig(String key, String value) {
        if (key == null) {
            throw new IllegalArgumentException("key must not be null");
        }
        if (value == null) {
            throw new IllegalArgumentException("value must not be null");
        }

        Matcher m = ALLOWABLE_OTHER_PARAMS_PATTERN.matcher(key);
        if (!m.find()) {
            throw new IllegalArgumentException("Key contains illegal characters: " + key);
        }
        m.reset(value);
        if (!m.find()) {
            throw new IllegalArgumentException("Value contains illegal characters: " + value);
        }
        otherTesseractConfig.put(key.trim(), value.trim());
        userConfigured.add("otherTesseractConfig");
    }
Add a key-value pair to pass to Tesseract using its -c command line option.
To see the possible options, run tesseract --print-parameters.
<p>
You may also add these parameters in TesseractOCRConfig.properties; any
key-value pair in the properties file where the key contains an underscore
is passed directly to Tesseract.

@param key
@param value
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-ocr-module/src/main/java/org/apache/tika/parser/ocr/TesseractOCRConfig.java