I hereby claim:
- I am arnebinder on github.
- I am arnebinder (https://keybase.io/arnebinder) on keybase.
- I have a public key ASCwFs0mI2BCoecHZzg_D-MnmywQavQrdiy5kbuQQkxRMAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Descriptions:
Relations
type: typed dictionary with sources
(list of source node ids), targets
(list of target node ids), and relation
(relation node id)get_relations
method that returns all Relations
for a certain relation_type
(either S
, TA
, or YA
). We use the following constraints (format: REL-NODE-TYPES: SRC-TYPES -> TRG-TYPES
):
[TA]: [L] -> [L]
[RA, CA, MA]: [I] -> [I]
[YA]: [L, TA] -> [I, L, RA, CA, MA]
(Note: relations L -> YA -> L encode (in-)direct speech)get_relation_statistics
: collect the following statistics for a given nodeset by using get_relations
:
nodeset_id node_src:node_trg src_type:trg_type
int
.nodeset_id node_id node_type
train
ACTIVATOR | AGONIST | AGONIST-ACTIVATOR | AGONIST-INHIBITOR | ANTAGONIST | DIRECT-REGULATOR | INDIRECT-DOWNREGULATOR | INDIRECT-UPREGULATOR | INHIBITOR | PART-OF | PRODUCT-OF | SUBSTRATE | SUBSTRATE_PRODUCT-OF | no_relation | all_relations | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
available | 1298 | 618 | 29 | 13 | 891 | 2044 | 1169 | 1283 | 4840 | 798 | 797 | 1762 | 10 | nan | 15552 |
skipped_partially_contained | 8 | 14 | nan | nan | 9 | 8 | nan |