visual.conf
3.61 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# -*- Mode: Text; tab-width: 8; indent-tabs-mode: nil; coding: utf-8; -*-
# vim:set ft=conf ts=2 sw=2 sts=2 autoindent:
[labels]
# Label definitions for display. The labels are separated by pipe
# characters "|".
# The first label must correspond to the form found first in other
# configuration files. As this form must be valid for use in e.g. the
# BioNLP ST standoff format, it must have only ASCII alphanumerics,
# "_" or "-" (i.e. match '^[a-zA-Z0-9_-]$').
# Labels other than the first define forms that are presented to the
# user in the annotation interface, with the first form being the
# preferred full form and the others abbreviations that will be used
# if fuller forms do not fit in the given space. These have no format
# restrictions and can contain e.g. space (this tends to make the
# first and second columns identical for most terms, which do not
# contain space). Surrounding space is ignored.
### Entity types
Person | Person
Organization | Organization | Org
GPE | Geo-political entity | GPE
### Event types
Be-born | Be born
Transfer-ownership | Transfer ownership
Transfer-money | Transfer money
Start-org | Start org
Merge-org | Merge org
End-org | End org
### Relation types
Geographical_part | Geographical part | Geo part
Employment | Employment | Employ
### Role types
Agent-Arg | Agent
Artifact-Arg | Artifact
Beneficiary-Arg | Beneficiary
Buyer-Arg | Buyer
Event-Arg | Event
Giver-Arg | Giver
Money-Arg | Money
Org-Arg | Org
Person-Arg | Person
Place-Arg | Place
Recipient-Arg | Recipient
Reporter-Arg | Reporter
Seller-Arg | Seller
[drawing]
# Other aspects of visual presentation. The format is label (form used
# in other configurations, first of the labels) of the annotation
# separated by tab from comma-separated key:value pairs. The recognized
# keys, their values and purpose are:
# - fgColor : any HTML color specification (e.g. "black"), sets
# the color of a span text in the visualization.
# - bgColor : any HTML color specification (e.g. "white"), sets
# the color of a span "box" background in the visualization.
# - borderColor : any HTML color specification (e.g. "black"), sets
# the color of a span "box" border in the visualization.
# Also supports special value "darken", which specifies to
# use a darker shade of bgColor for the border.
# - color : any HTML color specification (e.g. "black"), sets
# the color of an arc in the visualization.
# - dashArray : any valid SVG stroke-dasharray specification using
# dashes (instead of commas or space) as separators
# (e.g. "3-3"), sets the dash/dot pattern for lines
# in the span/arc visualization ("-" works for solid
# line)
# The special labels "SPAN_DEFAULT" and "ARC_DEFAULT" are recognized
# as setting defaults that will be used for types without specific
# settings. It is not necessary to define all aspects of the
# visualization (e.g. just Color can be given): defaults will be
# used for unspecified cases.
SPAN_DEFAULT fgColor:black, bgColor:lightgreen, borderColor:darken
ARC_DEFAULT color:black, dashArray:-, arrowHead:triangle-5, labelArrow:none
# color scheme from
# http://www.colourlovers.com/palette/314275/marmalade_skies
# 20663F 259959 ABD406 FFD412 FF821C
Person bgColor:#FF821C
Organization bgColor:#a7c2ff
GPE bgColor:#FFD412
Money bgColor:#007000, fgColor:white
Alias dashArray:3-3, arrowHead:none
Individual glyph:(I)
Mention glyph:(N)|(n)|(o), position:left
Negation box:crossed, glyph:<NONE>, dashArray:<NONE>
Confidence glyph:↑|↔|↓