forked from czcorpus/xmlanntools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathveld_xml2standoff.yaml
49 lines (44 loc) · 1.2 KB
/
veld_xml2standoff.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
x-veld:
code:
description: "A demo code veld, integrating the xml2standoff script. For more documentation,
see: https://github.com/czcorpus/xmlanntools?tab=readme-ov-file#xml2standoff"
topic:
- NLP
- ETL
input:
- volume: /veld/input/
environment_var: in_xml_file
file_type: xml
output:
- volume: /veld/output/
environment_var: out_txt_file
file_type: txt
- volume: /veld/output/
environment_var: out_json_file
file_type: json
config:
- environment_var: text_elements
var_type: str
optional: true
- environment_var: exclude_elements
var_type: str
optional: true
- environment_var: keep_linebreaks
var_type: bool
default: false
optional: true
services:
veld_xml2standoff:
build: .
volumes:
- ./:/veld/code/
- ./data/xml2standoff/in/:/veld/input/
- ./data/xml2standoff/out/:/veld/output/
command: bash /veld/code/./veld_xml2standoff.sh
environment:
in_xml_file: null
out_txt_file: null
out_json_file: null
text_elements: null
exclude_elements: null
keep_linebreaks: false