Skip to content

Commit

Permalink
Automatically copy the Age models to the model dir so that you can ha…
Browse files Browse the repository at this point in the history
…ve them available for classpath tests.
  • Loading branch information
chrismattmann committed Jul 7, 2017
1 parent 6ff1147 commit 3c2595d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tika-parsers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,8 @@
<copy file="${basedir}/src/test/resources/org/apache/tika/parser/ner/opennlp/en-pos-maxent.bin" todir="${basedir}/model/opennlp/"/>
<copy file="${basedir}/src/test/resources/org/apache/tika/parser/ner/opennlp/en-sent.bin" todir="${basedir}/model/opennlp/"/>
<copy file="${basedir}/src/test/resources/org/apache/tika/parser/ner/opennlp/en-token.bin" todir="${basedir}/model/opennlp/"/>
<copy file="${basedir}/src/test/resources/org/apache/tika/parser/recognition/classify-bigram.bin" todir="${basedir}/model/org/apache/tika/parser/recognition/"/>
<copy file="${basedir}/src/test/resources/org/apache/tika/parser/recognition/regression-global.bin" todir="${basedir}/model/org/apache/tika/parser/recognition/"/>
</target>
</configuration>
</execution>
Expand Down

0 comments on commit 3c2595d

Please sign in to comment.