On Tue, Jun 5, 2012 at 10:58 AM, Stefane Fermigier <[email protected]> wrote:
> Hi,
>
> when I try to build Stanbol from svn trunk (via mvn install), I get:
>
> Failed tests:   
> testSingleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>  testSingleSentenceChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>  testSingleSentenceNoChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>  testMultipleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>
> Maybe because some models are not loaded?
>
> 1084 [main] INFO org.apache.stanbol.commons.opennlp.TextAnalyzer - Unable to 
> load POS Model for language 'en'
> java.io.EOFException: Unexpected end of ZLIB input stream
>

looks like the "en-pos-maxent.bin" is somehow corrupted. All *.bin
files used by OpenNLP are actually Zip archives.

Please try to delete the everything under

   {stanbol-trunk}/data/opennlp/lang/en/src/main/resources/

this will cause the models to be re-downloaded on the next build.
Hopefully this will solve your issue.

best
Rupert

>  S.
>
> --
> Stefane Fermigier, tech entrepreneur
> http://fermigier.com/ - http://twitter.com/sfermigier - 
> http://www.linkedin.com/in/sfermigier
> "Well done is better than well said." - Benjamin Franklin
> "There's no such thing as can't. You always have a choice." - Ken Gor
>



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to