Skip to content

Commit

Permalink
Issue #15: Add a CTAKES implementation
Browse files Browse the repository at this point in the history
Update to CTAKES 4.0.0
  • Loading branch information
sdumitriu committed Aug 17, 2017
1 parent ef5bae8 commit 81770c7
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 1,903 deletions.
41 changes: 28 additions & 13 deletions ctakes-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<properties>
<coverage.instructionRatio>0.16</coverage.instructionRatio>
<checkstyle.suppressions.location>${basedir}/src/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
<ctakes.version>3.2.2</ctakes.version>
<ctakes.version>4.0.0</ctakes.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -115,6 +115,12 @@
<groupId>org.apache.ctakes</groupId>
<artifactId>ctakes-dictionary-lookup</artifactId>
<version>${ctakes.version}</version>
<exclusions>
<exclusion>
<groupId>net.sourceforge.ctakesresources</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.ctakes</groupId>
Expand All @@ -130,6 +136,12 @@
<groupId>org.apache.ctakes</groupId>
<artifactId>ctakes-lvg</artifactId>
<version>${ctakes.version}</version>
<exclusions>
<exclusion>
<groupId>net.sourceforge.ctakesresources</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
Expand Down Expand Up @@ -181,21 +193,24 @@
<build>
<plugins>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.3.0</version>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>download-lvg</id>
<phase>compile</phase>
<id>unpack-lvg</id>
<goals>
<goal>wget</goal>
<goal>unpack</goal>
</goals>
<configuration>
<url>https://lexsrv3.nlm.nih.gov/LexSysGroup/Projects/lvg/2008/release/lvg2008.tgz</url>
<outputDirectory>${project.build.directory}</outputDirectory>
<unpack>true</unpack>
<md5>6dde9ebffae96185820d914131a93dc1</md5>
<artifactItems>
<artifactItem>
<groupId>net.sourceforge.ctakesresources</groupId>
<artifactId>ctakes-resources-lvg2008</artifactId>
<version>${ctakes.version}</version>
<type>jar</type>
<outputDirectory>${project.build.directory}/lvg2008</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
Expand All @@ -211,10 +226,10 @@
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/classes/data/HSqlDb</outputDirectory>
<outputDirectory>${project.build.directory}/classes/</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/lvg2008/data/HSqlDb</directory>
<directory>${project.build.directory}/lvg2008/org/apache/ctakes/lvg/</directory>
</resource>
</resources>
</configuration>
Expand Down
9 changes: 0 additions & 9 deletions ctakes-service/src/main/resources/data/ReadMe.txt

This file was deleted.

84 changes: 0 additions & 84 deletions ctakes-service/src/main/resources/data/Unicode/diacriticMap.data

This file was deleted.

27 changes: 0 additions & 27 deletions ctakes-service/src/main/resources/data/Unicode/ligatureMap.data

This file was deleted.

62 changes: 0 additions & 62 deletions ctakes-service/src/main/resources/data/Unicode/nonStripMap.data

This file was deleted.

99 changes: 0 additions & 99 deletions ctakes-service/src/main/resources/data/Unicode/symbolMap.data

This file was deleted.

This file was deleted.

Loading

0 comments on commit 81770c7

Please sign in to comment.