-
Notifications
You must be signed in to change notification settings - Fork 20
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
Span-tagging example code [feature request] #38
Comments
There are different internal recommenders for different kinds of spans in INCEpTION, e.g.:
The label of the recommendation can be empty, but it is always required that a feature exists to which a label could be assigned. There is currently no way to define a recommender for a layer that has no features. |
Hmm. I'm aiming to do nested spans that have similar kinds of properties to phrases. I don't think any of those classifiers do that? I think what I probably need is something like a shift-reduce oracle or something vaguely of that flavour. But I'm far from an expert at this. |
A recommender must be assigned to a string feature and produces suggestions that have a begin, end, label (optional), score (optional) and description (optional). If you need to produce suggestions for multiple features of the same layer, you'd currently need to set up multiple recommenders, one for each feature. |
ah, so arbitrary levels of nesting aren't possible, because you need one recommender per level? |
You should be able to create overlapping suggestions if you needed that. |
Mind that the layer would need to be configured to allow for overlapping if you did that. |
Well, I'll give it a shot. Unless I go for a dependency grammar… |
There are as far as I can tell no internal recommenders for spans (the extents of the spans rather than the labels attached to the spans); so any guidance on how to write an external trainable recommender for generic nested spans would be really welcome.
The text was updated successfully, but these errors were encountered: