/
valohai.yaml
146 lines (140 loc) · 7.24 KB
/
valohai.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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
- step:
name: detect-language
image: neomatrix369/nlp-java:0.2
command:
- ./run-commands.sh "{parameter-value:java-program}" "{parameter-value:sentence}"
inputs:
- name: model
description: (DetectLanguage) Model file to perform the necessary action
default: http://mirrors.ukfast.co.uk/sites/ftp.apache.org/opennlp/models/langdetect/1.8.3/langdetect-183.bin
- name: apache-opennlp-jar
description: The Apache OpenNLP library that helps with loading the model and running the NLP task
default: http://apache.mirror.anlx.net/opennlp/opennlp-1.9.1/apache-opennlp-1.9.1-bin.tar.gz
parameters:
- name: java-program
description: (DetectLanguage) snippet of java source code that loads the model and runs an example
default: https://raw.githubusercontent.com/neomatrix369/nlp-java-jvm-example/integrating-nlp-java-with-jupyhai/shared/notebooks/DetectLanguage.java
- name: sentence
type: string
description: Input sentence to process using the NLP action
environment: aws-eu-west-1-g2-2xlarge
- step:
name: detect-sentence
image: neomatrix369/nlp-java:0.2
command:
- ./run-commands.sh "{parameter-value:java-program}" "{parameter-value:sentence}"
inputs:
- name: model
description: (DetectSentence) Model file to perform the necessary action
default: http://opennlp.sourceforge.net/models-1.5/en-sent.bin
- name: apache-opennlp-jar
description: The Apache OpenNLP library that helps with loading the model and running the NLP task
default: http://apache.mirror.anlx.net/opennlp/opennlp-1.9.1/apache-opennlp-1.9.1-bin.tar.gz
parameters:
- name: java-program
description: (DetectSentence) snippet of java source code that loads the model and runs an example
default: https://raw.githubusercontent.com/neomatrix369/nlp-java-jvm-example/integrating-nlp-java-with-jupyhai/shared/notebooks/DetectSentence.java
- name: sentence
type: string
description: Input sentence to process using the NLP action
environment: aws-eu-west-1-g2-2xlarge
- step:
name: tokenize-sentence
image: neomatrix369/nlp-java:0.2
command:
- ./run-commands.sh "{parameter-value:java-program}" "{parameter-value:sentence}"
inputs:
- name: model
description: (Tokenize) Model file to perform the necessary action
default: http://opennlp.sourceforge.net/models-1.5/en-token.bin
- name: apache-opennlp-jar
description: The Apache OpenNLP library that helps with loading the model and running the NLP task
default: http://apache.mirror.anlx.net/opennlp/opennlp-1.9.1/apache-opennlp-1.9.1-bin.tar.gz
parameters:
- name: java-program
description: (Tokenize) snippet of java source code that loads the model and runs an example
default: https://raw.githubusercontent.com/neomatrix369/nlp-java-jvm-example/integrating-nlp-java-with-jupyhai/shared/notebooks/Tokenize.java
- name: sentence
type: string
description: Input sentence to process using the NLP action
environment: aws-eu-west-1-g2-2xlarge
- step:
name: name-finder-person
image: neomatrix369/nlp-java:0.2
command:
- ./run-commands.sh "{parameter-value:java-program}" "{parameter-value:sentence}"
inputs:
- name: model
description: (NameFinderPerson) Model file to perform the necessary action
default: http://opennlp.sourceforge.net/models-1.5/en-ner-person.bin
- name: apache-opennlp-jar
description: The Apache OpenNLP library that helps with loading the model and running the NLP task
default: http://apache.mirror.anlx.net/opennlp/opennlp-1.9.1/apache-opennlp-1.9.1-bin.tar.gz
parameters:
- name: java-program
description: (NameFinderPerson) snippet of java source code that loads the model and runs an example
default: https://raw.githubusercontent.com/neomatrix369/nlp-java-jvm-example/integrating-nlp-java-with-jupyhai/shared/notebooks/NameFinderPerson.java
- name: sentence
type: string
description: Input sentence to process using the NLP action
environment: aws-eu-west-1-g2-2xlarge
- step:
name: pos-tagger
image: neomatrix369/nlp-java:0.2
command:
- ./run-commands.sh "{parameter-value:java-program}" "{parameter-value:sentence}"
inputs:
- name: model
description: (PoSTagger) Model file to perform the necessary action
default: http://opennlp.sourceforge.net/models-1.5/en-pos-maxent.bin
- name: apache-opennlp-jar
description: The Apache OpenNLP library that helps with loading the model and running the NLP task
default: http://apache.mirror.anlx.net/opennlp/opennlp-1.9.1/apache-opennlp-1.9.1-bin.tar.gz
parameters:
- name: java-program
description: (PoSTagger) snippet of java source code that loads the model and runs an example
default: https://raw.githubusercontent.com/neomatrix369/nlp-java-jvm-example/integrating-nlp-java-with-jupyhai/shared/notebooks/PoSTagger.java
- name: sentence
type: string
description: Input sentence to process using the NLP action
environment: aws-eu-west-1-g2-2xlarge
- step:
name: chunker
image: neomatrix369/nlp-java:0.2
command:
- ./run-commands.sh "{parameter-value:java-program}" "{parameter-value:sentence}"
inputs:
- name: model
description: (Chunker) Model file to perform the necessary action
default: http://opennlp.sourceforge.net/models-1.5/en-chunker.bin
- name: apache-opennlp-jar
description: The Apache OpenNLP library that helps with loading the model and running the NLP task
default: http://apache.mirror.anlx.net/opennlp/opennlp-1.9.1/apache-opennlp-1.9.1-bin.tar.gz
parameters:
- name: java-program
description: (Chunker) snippet of java source code that loads the model and runs an example
default: https://raw.githubusercontent.com/neomatrix369/nlp-java-jvm-example/integrating-nlp-java-with-jupyhai/shared/notebooks/Chunker.java
- name: sentence
type: string
description: Input sentence to process using the NLP action
environment: aws-eu-west-1-g2-2xlarge
- step:
name: parser
image: neomatrix369/nlp-java:0.2
command:
- ./run-commands.sh "{parameter-value:java-program}" "{parameter-value:sentence}"
inputs:
- name: model
description: (ParserChunking) Model file to perform the necessary action
default: http://opennlp.sourceforge.net/models-1.5/en-parser-chunking.bin
- name: apache-opennlp-jar
description: The Apache OpenNLP library that helps with loading the model and running the NLP task
default: http://apache.mirror.anlx.net/opennlp/opennlp-1.9.1/apache-opennlp-1.9.1-bin.tar.gz
parameters:
- name: java-program
description: (ParserChunking) snippet of java source code that loads the model and runs an example
default: https://raw.githubusercontent.com/neomatrix369/nlp-java-jvm-example/integrating-nlp-java-with-jupyhai/shared/notebooks/ParserChunking.java
- name: sentence
type: string
description: Input sentence to process using the NLP action
environment: aws-eu-west-1-g2-2xlarge