comparison simpleprojector2.xml @ 2:57e86cd394e8 draft

Uploaded
author moba
date Tue, 02 May 2017 05:46:02 -0400
parents
children
comparison
equal deleted inserted replaced
1:fb0620ea8b54 2:57e86cd394e8
1 <tool id="simpleprojector2" name="simple projector 2" version="0.0.1">
2 <description>Projects a simple dictionary on sections.</description>
3 <!--command interpreter="python">
4 simpleprojector2.py
5 -verbose ${verbose}
6 -noColors ${noColors}
7 -dictFile ${input}
8 -trieSink ${output}
9 -targetLayerName ${tln}
10 -valueFeatures ${vf}
11 -keyIndex ${ki}
12 </command-->
13 <command>
14 alvisnlp
15 -noColors
16 -param search dictFile ${input}
17 -param search trieSink ${output}
18 -param search targetLayerName ${tln}
19 -param search valueFeatures ${vf}
20 -param search keyIndex ${ki}
21 ${plan}
22 </command>
23
24 <inputs>
25 <param format="txt" name="verbose" value="false" type="boolean" label="verbose" help=""/>
26
27 <param format="txt" name="noColors" value="false" type="boolean" label="colors" help=""/>
28
29 <param format="txt" name="input" type="data" label="dictionary" help="Source of the dictionary."/>
30
31 <param name="tln" type="text" label="Target Layer Name" value="concepts" help="Name of the layer that contains the match annotations." />
32
33 <param name="vf" type="text" label="Value Features" value="id,entry" help="Target features in match annotations. The values are the columns in the matched entry line." />
34
35 <param name="ki" type="text" label="Key Index" value="0" help="Specifies the key column index (starting at 0)." />
36
37 <param format="txt,xml" name="plan" type="data" label="Plan" help="The plan to use." />
38
39 </inputs>
40
41
42
43 <outputs>
44 <data format="trie" name="output" help="If set, read the compiled dictionary from the specified files. Compiled dictionaries are generally faster for large dictionaries."/>
45 </outputs>
46
47 <tests>
48 <test>
49 <param name="input" value="dictionary-lemma.txt"/>
50 <param name="targetLayerName" value="concepts"/>
51 <param name="valueFeatures" value="id,entry"/>
52 <param name="keyIndex" value="1"/>
53 <output name="output" file="dictionary-lemma-output.trie"/>
54 </test>
55 </tests>
56 </tool>