Skip to content

using setRequiredAnnotatorTypes() with many of the annotators throws error. #58

@clayms

Description

@clayms

Many of the annotators in annotator.py list requiredAnnotatorTypes() as a parameter when using either <annotatorName>().explainParams(), or dir(<annotatorName>).

However, when using <annotatorName>().setRequiredAnnotatorTypes on most of these annotators, the following error is thrown.

Py4JJavaError: An error occurred while calling o830.getParam.
: java.util.NoSuchElementException: Param requiredAnnotatorTypes does not exist.

The only place where the requiredAnnotatorTypes parameter is shown is in the class AnnotatorProperties of annotator.py starting on line 29.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions