PRImA-Research-Lab / prima-page-converter

Command line tool to convert page layout files to the latest PAGE XML format. It supports all previous versions of the PAGE format as well as ALTO XML, FineReader XML, and HOCR
Apache License 2.0
23 stars 6 forks source link

error: package org.primaresearch.text.filter.TextFilter does not exist #17

Closed mikegerber closed 3 years ago

mikegerber commented 3 years ago

I'm having trouble building prima-page-converter:

src/org/primaresearch/dla/page/converter/PageConverter.java:55: error: package org.primaresearch.text.filter does not exist
import org.primaresearch.text.filter.TextFilter;
                                    ^
src/org/primaresearch/dla/page/converter/PageConverter.java:56: error: package org.primaresearch.text.filter.TextFilter does not exist
import org.primaresearch.text.filter.TextFilter.TextObjectTypeFilterCallback;
                                               ^

Neither the prima-core-libs nor prima-text contain these?

mikegerber commented 3 years ago

Judging from the release zip here, and the PrimaText.jar in there, it seems like https://github.com/PRImA-Research-Lab/prima-text is not complete (1 class in the source vs ~ 100 classes in the JAR)

chris1010010 commented 3 years ago

That's correct, PrimaText is only partially open-source