s-herrera / grammar-rules-extraction

2 stars 0 forks source link

Key to cluster #13

Closed perrier54 closed 2 years ago

perrier54 commented 2 years ago

It's a pity that relation features are not allowed to cluster in pattern3, as in Grew-match.

s-herrera commented 2 years ago

Hi, what do you mean by relation features?

perrier54 commented 2 years ago

In Grew, the labels of relations between nodes are feature structures For example, the SUD relation comp:obj@agent is represented by the feature structure {1:comp, 2: obj, deep:agent} and with Grew-match, it is possible to cluster on d.1, d.2, d.deep, and even on d.label, which represents the full label of a dependency d.

s-herrera commented 2 years ago

Ah ok! I will work on that

perrier54 commented 2 years ago

I discovered that it is possible to cluster on the dependency labels, but only when the dependencies are present in the P1 pattern. When they are in the P2 pattern, it does not work.

s-herrera commented 2 years ago

It's now possible to cluster on the dependency labels, using the keys .1, .2 and .deep. It's necessary to update the app and the opam packages (see README)