docs: protected void init() {
          handle = TessBaseAPICreate();
          StringArray sarray = new StringArray(configList.toArray(new String[0]));
          PointerByReference configs = new PointerByReference();
          configs.setPointer(sarray);
          TessBaseAPIInit1(handle, datapath, language, ocrEngineMode, configs, configList.size());
          if (psm > -1) {
              TessBaseAPISetPageSegMode(handle, psm);
          }
      }