Skip to content

Commit 40ef99e

Browse files
committed
Add doc for <-- etc semgrex relations
1 parent b9f19a6 commit 40ef99e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/edu/stanford/nlp/semgraph/semgrex/SemgrexPattern.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@
7979
* <tr><td>A $- B <td>B is a left immediate sibling of A, i.e. A and B have the same parent and A.index() == B.index() + 1
8080
* <tr><td>A $++ B <td>B is a right sibling of A, i.e. A and B have the same parent and {@code A.index() < B.index()}
8181
* <tr><td>A $-- B <td>B is a left sibling of A, i.e. A and B have the same parent and {@code A.index() > B.index()}
82+
* <tr><td>A &lt;++ B <td>B is a right governor of A
83+
* <tr><td>A &lt;-- B <td>B is a left governor of A
84+
* <tr><td>A &lt;++ B <td>B is a right dependent of A
85+
* <tr><td>A &lt;-- B <td>B is a left dependent of A
8286
* <tr><td>A @ B <td>A is aligned to B (this is only used when you have two dependency graphs which are aligned)
8387
* <caption>Currently supported node relations</caption>
8488
* </table>

0 commit comments

Comments
 (0)