@Override protected M produceResource(URL aUrl) throws IOException { try (InputStream is = aUrl.openStream()) { return produceResource(is); } catch (IOException e) { throw e; } catch (Exception e) { throw new IOException(e); } }
@Override public void configure(CAS aCas) throws AnalysisEngineProcessException { super.configure(aCas); try { recordTagsets(aCas); } catch (CASException e) { throw new AnalysisEngineProcessException(e); } }