[
https://issues.apache.org/jira/browse/TIKA-1851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15134070#comment-15134070
]
Tim Allison commented on TIKA-1851:
-----------------------------------
Hi Ken,
[~thammegowda] is working on making the opennlp test suite work on the 2.x
branch over on TIKA-1816. I ran into the same error that you did above, but
then I manually copied/downloaded the models: ner-date.bin, ner-location.bin,
ner-organization.bin and ner-person.bin from
{{http://opennlp.sourceforge.net/models-1.5}} to
{{src/test/resources/org/apache/tika/parser/ner/opennlp/}}.
At least in my environment for now, ModelGetter.groovy is working in trunk
(1.x). But, right, that is still broken in 2.x.
As for where Groovy goes, I leave that to [~chrismattmann] and [~thammegowda].
I suspect that wound up there because it should be a one-off download task, but
I don't have a strong preference for location. I was wondering if it should go
in the general test-resources package or should be moved to the test cases for
that particular parser, but I don't have a strong feeling where it goes.
> Tika 2.0 - Move test resources from core to test-resources
> ----------------------------------------------------------
>
> Key: TIKA-1851
> URL: https://issues.apache.org/jira/browse/TIKA-1851
> Project: Tika
> Issue Type: Sub-task
> Reporter: Tim Allison
> Assignee: Tim Allison
> Priority: Trivial
> Fix For: 2.0
>
>
> Let's try to move resources that are used for testing to the test-resources
> module if possible: MockParser, DummyParser, TikaTest and the unit tests for
> MockParser. That should also allow us to drop the test-jar goal in
> tika-core. Anything else?
> Haven't actually tried this yet; there may be surprises.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)