Skip to content
Snippets Groups Projects
Select Git revision
  • 9b17f7e7c28dc9dcd1c776c8d842e9b270faff57
  • main default protected
  • draft
  • geography-terms
  • tal-history
5 results

constituents.gv

Blame
  • Alice BRENON's avatar
    Alice Brenon authored
    Add a rule to make sure that «appartiennent» keeps on the left of the VP of the example constituants analysis (+ adjust width to keep both syntax diagrams proportionate)
    9b17f7e7
    History
    constituents.gv 548 B
    digraph const {
        rankdir="BT";
        S;
        NP1 [label="NP"];
        NP2 [label="NP"];
        NP3 [label="NP"];
        NP4 [label="NP"];
        VP;
    
        1 [label="Les:D"];
        2 [label="cellules:N"];
        3 [label="nerveuses:A"];
        4 [label="appartiennent:V"];
        5.6 [label="au:D+P"];
        7 [label="type:N"];
        8 [label="multipolaire:A"];
    
        subgraph order {
            rankdir="LR";
            rank="same";
            4 -> NP4 [style=invis];
        }
    
        1, 2 -> NP1;
        NP1, 3 -> NP3;
        4, NP4 -> VP;
        5.6, 7 -> NP2;
        NP2, 8 -> NP4;
        NP3, VP -> S
    }