AlchemyAPIAnnotator/src/main/java/org/apache/uima/alchemy/annotator/HtmlMicroformatsAnnotator.java [46:56]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  protected void initializeRuntimeParameters(JCas aJCas) throws AnalysisEngineProcessException {
    try {
      // fill html parameter
      StringBuffer serviceParamsBuf = new StringBuffer();
      serviceParamsBuf.append("&html=");
      serviceParamsBuf.append(URLEncoder.encode(aJCas.getDocumentText(), "UTF-8"));
      this.serviceParams += (serviceParamsBuf.toString());
    } catch (UnsupportedEncodingException e) {
      throw new AnalysisEngineProcessException(e);
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



AlchemyAPIAnnotator/src/main/java/org/apache/uima/alchemy/annotator/URLMicroformatsAnnotator.java [46:56]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  protected void initializeRuntimeParameters(JCas aJCas) throws AnalysisEngineProcessException {
    try {
      // fill url parameter
      StringBuffer serviceParamsBuf = new StringBuffer();
      serviceParamsBuf.append("&url=");
      serviceParamsBuf.append(URLEncoder.encode(aJCas.getDocumentText(), "UTF-8"));
      this.serviceParams += (serviceParamsBuf.toString());
    } catch (UnsupportedEncodingException e) {
      throw new AnalysisEngineProcessException(e);
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



