forked from czcorpus/xmlanntools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathveld_standoff2xml.yaml
54 lines (49 loc) · 1.36 KB
/
veld_standoff2xml.yaml
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
x-veld:
code:
description: "A demo code veld, integrating the standoff2xml script. For more documentation,
see: https://github.com/czcorpus/xmlanntools?tab=readme-ov-file#standoff2xml"
topic:
- NLP
- ETL
input:
- volume: /veld/input/
environment_var: in_txt_file
file_type: txt
- volume: /veld/input/
environment_var: in_json_file
file_type: json
- volume: /veld/input/
environment_var: in_ann_json_file
file_type: json
output:
- volume: /veld/output/
environment_var: out_ann_xml_file
file_type: xml
config:
- environment_var: token_annotation
var_type: bool
default: false
optional: true
- environment_var: warn_breaking
var_type: str
optional: true
- environment_var: keep_between_sentences
var_type: bool
default: false
optional: true
services:
veld_standoff2xml:
build: .
volumes:
- ./:/veld/code/
- ./data/standoff2xml/in/:/veld/input/
- ./data/standoff2xml/out/:/veld/output/
command: bash /veld/code/veld_standoff2xml.sh
environment:
in_txt_file: null
in_json_file: null
in_ann_json_file: null
out_ann_xml_file: null
token_annotation: false
warn_breaking: null
keep_between_sentences: false