You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your type system does not seem to have a feature called label. There is a Value and Date but you seem to have tried value and date in your Python code. Feature names are case sensitive.
Thanks @reckart for your reply. I fixed it and it seems to work except that in inception it's rather the terms that are displayed instead of the name of the feature as in the following image.
The expected behavior:
The displayed tag of Brazil's must be Location since it is linked to the feature Location.
Do I need to add a Label feature to solve this or I missed doing something.
Thanks
Hi,
from the code you provided, it seems like you assign the term by yourself, named_entity[2] has to be the term text because otherwise your assert would fail.
Describe the bug
Issue with feature annotation that is linked to a custom layer
To Reproduce
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)
If possible, attach a minimal file that triggers the error.
Error message
`TypeError: webanno_custom_Concept.init() got an unexpected keyword argument 'label'
The same error occurs when I replace
label= named_entity[2]
byvalue= named_entity[2]
or by the name of the feature Datedate= named_entity[2]
.Please complete the following information:
Additional context
I specify that everything works correctly when I use the primitive layer
Span
instead of the custom layer created.The text was updated successfully, but these errors were encountered: