annotate simpleprojector2.xml @ 2:57e86cd394e8 draft

Uploaded
author moba
date Tue, 02 May 2017 05:46:02 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
57e86cd394e8 Uploaded
moba
parents:
diff changeset
1 <tool id="simpleprojector2" name="simple projector 2" version="0.0.1">
57e86cd394e8 Uploaded
moba
parents:
diff changeset
2 <description>Projects a simple dictionary on sections.</description>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
3 <!--command interpreter="python">
57e86cd394e8 Uploaded
moba
parents:
diff changeset
4 simpleprojector2.py
57e86cd394e8 Uploaded
moba
parents:
diff changeset
5 -verbose ${verbose}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
6 -noColors ${noColors}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
7 -dictFile ${input}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
8 -trieSink ${output}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
9 -targetLayerName ${tln}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
10 -valueFeatures ${vf}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
11 -keyIndex ${ki}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
12 </command-->
57e86cd394e8 Uploaded
moba
parents:
diff changeset
13 <command>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
14 alvisnlp
57e86cd394e8 Uploaded
moba
parents:
diff changeset
15 -noColors
57e86cd394e8 Uploaded
moba
parents:
diff changeset
16 -param search dictFile ${input}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
17 -param search trieSink ${output}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
18 -param search targetLayerName ${tln}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
19 -param search valueFeatures ${vf}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
20 -param search keyIndex ${ki}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
21 ${plan}
57e86cd394e8 Uploaded
moba
parents:
diff changeset
22 </command>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
23
57e86cd394e8 Uploaded
moba
parents:
diff changeset
24 <inputs>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
25 <param format="txt" name="verbose" value="false" type="boolean" label="verbose" help=""/>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
26
57e86cd394e8 Uploaded
moba
parents:
diff changeset
27 <param format="txt" name="noColors" value="false" type="boolean" label="colors" help=""/>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
28
57e86cd394e8 Uploaded
moba
parents:
diff changeset
29 <param format="txt" name="input" type="data" label="dictionary" help="Source of the dictionary."/>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
30
57e86cd394e8 Uploaded
moba
parents:
diff changeset
31 <param name="tln" type="text" label="Target Layer Name" value="concepts" help="Name of the layer that contains the match annotations." />
57e86cd394e8 Uploaded
moba
parents:
diff changeset
32
57e86cd394e8 Uploaded
moba
parents:
diff changeset
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." />
57e86cd394e8 Uploaded
moba
parents:
diff changeset
34
57e86cd394e8 Uploaded
moba
parents:
diff changeset
35 <param name="ki" type="text" label="Key Index" value="0" help="Specifies the key column index (starting at 0)." />
57e86cd394e8 Uploaded
moba
parents:
diff changeset
36
57e86cd394e8 Uploaded
moba
parents:
diff changeset
37 <param format="txt,xml" name="plan" type="data" label="Plan" help="The plan to use." />
57e86cd394e8 Uploaded
moba
parents:
diff changeset
38
57e86cd394e8 Uploaded
moba
parents:
diff changeset
39 </inputs>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
40
57e86cd394e8 Uploaded
moba
parents:
diff changeset
41
57e86cd394e8 Uploaded
moba
parents:
diff changeset
42
57e86cd394e8 Uploaded
moba
parents:
diff changeset
43 <outputs>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
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."/>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
45 </outputs>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
46
57e86cd394e8 Uploaded
moba
parents:
diff changeset
47 <tests>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
48 <test>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
49 <param name="input" value="dictionary-lemma.txt"/>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
50 <param name="targetLayerName" value="concepts"/>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
51 <param name="valueFeatures" value="id,entry"/>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
52 <param name="keyIndex" value="1"/>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
53 <output name="output" file="dictionary-lemma-output.trie"/>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
54 </test>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
55 </tests>
57e86cd394e8 Uploaded
moba
parents:
diff changeset
56 </tool>