Skip to content

Error while training CERMINE #103

Description

@yasminaaq

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions