public TesseractOCRConfig getDefaultConfig() {
        return defaultConfig;
    }
@Test
    public void testArbitraryParams() throws Exception {
        try (InputStream is = getResourceAsStream(
                "/test-configs/tika-config-tesseract-arbitrary.xml")) {
            TikaConfig config = new TikaConfig(is);
            Parser p = config.getParser();
            Parser tesseractOCRParser =
                    findParser(p, org.apache.tika.parser.ocr.TesseractOCRParser.class);
            assertNotNull(tesseractOCRParser);
            TesseractOCRConfig tesseractOCRConfig =
                    ((TesseractOCRParser) tesseractOCRParser).getDefaultConfig();
            assertEquals("0.75",
                    tesseractOCRConfig.getOtherTesseractConfig().get("textord_initialx_ile"));

            assertEquals("0.15625",
                    tesseractOCRConfig.getOtherTesseractConfig().get("textord_noise_hfract"));
        }
    }