code:     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("Value contains illegal characters: "+key);
          }
          m.reset(value);
          if (! m.find()) {
              throw new IllegalArgumentException("Value contains illegal characters: "+value);
          }
  
          otherTesseractConfig.put(key.trim(), value.trim());
      }
  
      /**
       * Get property from the properties file passed in.
       *
       * @param properties     properties file to read from.
       * @param property       the property to fetch.
       * @param defaultMissing default parameter to use.
       * @return the value.
       */
  