annotation.conf
2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Simple text-based definitions of hierarchial ontologies of
# (physical) entity types, relation types, event types, and
# attributes.
# This is a minimal example configuration, based (loosely) on some
# ACE'05 entity, relation and event definitions
# (http://projects.ldc.upenn.edu/ace/annotation/2005Tasks.html).
# Please edit this according to the needs of your annotation.
[entities]
# Definition of entities.
# Format is a simple list with one type per line.
Person
Organization
GPE
[relations]
# Definition of (binary) relations.
# Format in brief: one relation per line, with first space-separated
# field giving the relation type and the rest of the line the
# comma-separated arguments in ROLE:TYPE format. The roles are
# typically "Arg1" and "Arg2".
Located Arg1:Person, Arg2:GPE
Geographical_part Arg1:GPE, Arg2:GPE
Family Arg1:Person, Arg2:Person
Employment Arg1:Person, Arg2:GPE
Ownership Arg1:Person, Arg2:Organization
Origin Arg1:Organization, Arg2:GPE
Alias Arg1:Person, Arg2:Person, <REL-TYPE>:symmetric-transitive
[events]
# Definition of events.
# Format in brief: one event per line, with first space-separated
# field giving the event type and the rest of the line the
# comma-separated arguments in ROLE:TYPE format. Arguments may be
# specified as either optional (by appending "?" to role) or repeated
# (by appending either "*" for "0 or more" or "+" for "1 or more").
# this is a macro definition, used for brevity
<POG>=Person|Organization|GPE
# the "!" before a type specifies that it cannot be used for annotation
# (hierarchy structure only.)
!Life
Be-born Person-Arg:Person, Place-Arg?:GPE
Marry Person-Arg{2}:Person, Place-Arg?:GPE
Divorce Person-Arg{2}:Person, Place-Arg?:GPE
Die Person-Arg:Person, Agent-Arg?:<POG>, Place-Arg?:GPE
!Transaction
Transfer-ownership Buyer-Arg:<POG>, Seller-Arg:<POG>, Artifact-Arg:Organization
Transfer-money Giver-Arg:<POG>, Recipient-Arg:<POG>, Beneficiary-Arg:<POG>
!Business
Start-org Agent-Arg?:<POG>, Org-Arg:Organization
Merge-org Org-Arg{2}:Organization
End-org Org-Arg:Organization
[attributes]
# Definition of entity and event attributes.
# Format in brief: first tab-separated field is attribute name, second
# a set of key-value pairs. The latter must define "Arg:" which
# specifies what the attribute can attach to (typically "<EVENT>").
# If no other keys are defined, the attribute is binary (present or
# absent). If "Value:" with multiple alternatives is defined, the
# attribute can have one of the given values.
Negation Arg:<EVENT>
Confidence Arg:<EVENT>, Value:High|Neutral|Low