rzo1 commented on code in PR #72: URL: https://github.com/apache/opennlp-sandbox/pull/72#discussion_r1083852114
########## wikinews-importer/src/main/java/org/apache/opennlp/wikinews_importer/AnnotatingMarkupParser.java: ########## @@ -91,24 +87,21 @@ public AnnotatingMarkupParser(String languageCode) { model = makeWikiModel(languageCode); } - public WikiModel makeWikiModel(String languageCode) { - return new WikiModel(String.format( - "http:/%s.wikipedia.org/wiki/${image}", languageCode), - String.format("http://%s.wikipedia.org/wiki/${title}", - languageCode)) { + public WikiModel makeWikiModel(String langCode) { + return new WikiModel(String.format("https:/%s.wikipedia.org/wiki/${image}", langCode), + String.format("https://%s.wikipedia.org/wiki/${title}", langCode)) { @Override public String getRawWikiContent(String namespace, String articleName, Map<String, String> templateParameters) { // disable template support - // TODO: we need to readd template support at least for dates + // TODO: we need to read template support at least for dates Review Comment: `re-add` ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@opennlp.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org