Note: Cassandre already has a similar feature.
For example (on two different corpora):


Please note that attributes are not "defined" in a model but are inferred from other items.
This kind of UI could be mixed with the current one that enables a new attribute to be added.