This is an automated email from the ASF dual-hosted git repository.
mattmann pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git.
from 3891b87 Add a few recent mime/magic changes to the changelog
add d700aa4 fix for TIKA-1988 contributed by [email protected]
add c9031bf Reverting committed work dir
add 92b7b68 fix merge of tika-parsers/pom.xml for age predictor.
add 4e24a14 Implement initializable interface.
add 048dd8e Fix import statement.
add a549ec6 Get needed OpenNLP models for age detection.
add 2d48094 Configure age detector based on classpath.
add 5a653d0 formatting in ModelGetter.
add f8cfa4b Fix typo.
add ce4fdda Use static class.getResource() instead of
getClass().getClassLoader()
add 6ff1147 Fix pom to work with Age Recogniser.
new 3c2595d Automatically copy the Age models to the model dir so that
you can have them available for classpath tests.
new 9ad510c Use mock class for testing.
new 327ae0b Record change for TIKA-1988 contributed by [email protected]
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CHANGES.txt | 4 +
tika-parsers/pom.xml | 30 +++++
.../tika/parser/recognition/AgeRecogniser.java | 145 +++++++++++++++++++++
.../parser/recognition/AgeRecogniserConfig.java | 55 ++++++++
.../tika/parser/recognition/AgeRecogniserTest.java | 74 +++++++++++
.../tika/parser/ner/opennlp/ModelGetter.groovy | 14 +-
.../tika-config-age.xml} | 8 +-
7 files changed, 325 insertions(+), 5 deletions(-)
create mode 100644
tika-parsers/src/main/java/org/apache/tika/parser/recognition/AgeRecogniser.java
create mode 100644
tika-parsers/src/main/java/org/apache/tika/parser/recognition/AgeRecogniserConfig.java
create mode 100644
tika-parsers/src/test/java/org/apache/tika/parser/recognition/AgeRecogniserTest.java
copy
tika-parsers/src/test/resources/org/apache/tika/parser/{ner/tika-config.xml =>
recognition/tika-config-age.xml} (76%)
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].