Skip to content
Discussion options

You must be logged in to vote

The way the Morphologizer works is that it will overwrite all or no attributes - overwrite does not happen per-field.

In this case I think it would be easier to put the AttributeRuler second and have it overwrite the Morphologizer annotations. Or if you need some more complex way of referencing both the predictions and the rule-based assignments, you could wrap the AttributeRuler to take its predictions and combine them with the existing annotations manually. See how __call__ is implemented for an example of what that might look like.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@megamattc
Comment options

@megamattc
Comment options

@adrianeboyd
Comment options

@megamattc
Comment options

@adrianeboyd
Comment options

Answer selected by megamattc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / morphologizer Feature: Morphologizer
3 participants