Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while training CERMINE #103

Open
yasminaaq opened this issue Sep 1, 2021 · 0 comments
Open

Error while training CERMINE #103

yasminaaq opened this issue Sep 1, 2021 · 0 comments

Comments

@yasminaaq
Copy link

I get this error when I try to train CERMINE as decribed here:

Exception in thread "main" java.lang.IllegalArgumentException: No enum constant pl.edu.icm.cermine.structure.model.BxZoneLabel.AFFILATION at java.base/java.lang.Enum.valueOf(Enum.java:240) at pl.edu.icm.cermine.structure.model.BxZoneLabel.valueOf(BxZoneLabel.java:30) at pl.edu.icm.cermine.structure.transformers.TrueVizToBxDocumentReader.parseClassification(TrueVizToBxDocumentReader.java:407) at pl.edu.icm.cermine.structure.transformers.TrueVizToBxDocumentReader.parseZoneNode(TrueVizToBxDocumentReader.java:415) at pl.edu.icm.cermine.structure.transformers.TrueVizToBxDocumentReader.parsePageNode(TrueVizToBxDocumentReader.java:449) at pl.edu.icm.cermine.structure.transformers.TrueVizToBxDocumentReader.read(TrueVizToBxDocumentReader.java:106) at pl.edu.icm.cermine.tools.BxDocUtils.getDocument(BxDocUtils.java:56) at pl.edu.icm.cermine.tools.BxDocUtils$DocumentsIterator$1.next(BxDocUtils.java:106) at pl.edu.icm.cermine.tools.BxDocUtils$DocumentsIterator$1.next(BxDocUtils.java:92) at pl.edu.icm.cermine.tools.classification.general.BxDocsToTrainingSamplesConverter.getZoneTrainingSamples(BxDocsToTrainingSamplesConverter.java:40) at pl.edu.icm.cermine.libsvm.training.SVMMetadataBuilder.main(SVMMetadataBuilder.java:145)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant