Since OS X Catalina, any tests involving hunpos no longer run. They fail with this error:
Caused by: java.io.IOException: error=86, Bad CPU type in executable
at org.dkpro.core.hunpos.HunPosTaggerTest.runTest(HunPosTaggerTest.java:277)
at org.dkpro.core.hunpos.HunPosTaggerTest.testSwedish(HunPosTaggerTest.java:170)
This affects not only the hunpos module but also other modules which use hunpos as a preprocessing step in their tests:
MaltParser
MstParser
MateTools
While MstParser and MateTools are probably only of historic interest, MaltParser still seems relevant today.
I think the last time I tried recompiling hunpos for recent platforms, the problem was that it was not able to deserialize the pre-built models we have so far.
As a solution, I would propose to use an assume to skip tests on platforms that do not to run hunpos.
Eventually, it would be good to remove the dependency of other modules on hunpos for testing. This could be done in a general effort to test components in isolation instead of relying on pipelines in unit tests.
Since OS X Catalina, any tests involving hunpos no longer run. They fail with this error:
This affects not only the hunpos module but also other modules which use hunpos as a preprocessing step in their tests:
While MstParser and MateTools are probably only of historic interest, MaltParser still seems relevant today.
I think the last time I tried recompiling hunpos for recent platforms, the problem was that it was not able to deserialize the pre-built models we have so far.
As a solution, I would propose to use an
assume
to skip tests on platforms that do not to run hunpos.Eventually, it would be good to remove the dependency of other modules on hunpos for testing. This could be done in a general effort to test components in isolation instead of relying on pipelines in unit tests.