code: private int getCorpusConfigIntValues(String context)
    {
      int value = Integer.parseInt(defaultCorpusConfig.getConfig().getProperty(
        context));
  
      if (value < 0)
      {
        throw new IllegalStateException("the value must be > 0");
      }
  
      return value;
    }
docs: Extract corpus configurations values with numeric values.
  
  @param context Must be a valid key of the corpus configuration section in
  the annis-service.properties file.
  @return Parses the String representation of the value to int and returns
  it.