From 0eacefc9859b36c996ba8b0538f771930065472b Mon Sep 17 00:00:00 2001 From: Sergiu Dumitriu Date: Sat, 8 Apr 2017 01:13:28 -0400 Subject: [PATCH] Issue #15: Add a CTAKES implementation Use the current URL for downloading HPO --- .../textanalysis/internal/CTakesAnnotationService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ctakes-service/src/main/java/org/phenotips/textanalysis/internal/CTakesAnnotationService.java b/ctakes-service/src/main/java/org/phenotips/textanalysis/internal/CTakesAnnotationService.java index 17127e0..75140d3 100644 --- a/ctakes-service/src/main/java/org/phenotips/textanalysis/internal/CTakesAnnotationService.java +++ b/ctakes-service/src/main/java/org/phenotips/textanalysis/internal/CTakesAnnotationService.java @@ -152,7 +152,8 @@ public Map reindex() { synchronized (CTakesAnnotationService.class) { try { - URL url = new URL("https://compbio.charite.de/jenkins/job/hpo/lastStableBuild/artifact/hp/hp.owl"); + URL url = + new URL("https://raw.githubusercontent.com/obophenotype/human-phenotype-ontology/master/hp.owl"); Path temp = Files.createTempFile("hpoLoad", ".owl"); FileUtils.copyURLToFile(url, temp.toFile()); CTakesLoader loader = new CTakesLoader(temp.toFile().toString(), this.indexDirectory);