TypeError: webanno_custom_Concept.__init__() got an unexpected keyword argument 'label'
The same error occurs when I replace label= named_entity[2] by value= named_entity[2]or by the name of the feature Date date= named_entity[2].
I specify that everything works correctly when I use the primitive layer Span instead of the custom layer created.
Any idea to understand why this problem arises or any other idea of workaround?
I'm having trouble annotating in inception a layer from a feature.
Description
Here is a snippet of my typesstsem file.
Here is the piece of code to create the annotation:
named_entity contains as example
(43, 50, Date)
With the code above, I get the following error:
TypeError: webanno_custom_Concept.__init__() got an unexpected keyword argument 'label'
The same error occurs when I replacelabel= named_entity[2]
byvalue= named_entity[2]
or by the name of the feature Datedate= named_entity[2]
.I specify that everything works correctly when I use the primitive layer
Span
instead of the custom layer created.Any idea to understand why this problem arises or any other idea of workaround?