-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimpleprojector2.xml
56 lines (44 loc) · 1.94 KB
/
simpleprojector2.xml
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
<tool id="simpleprojector2" name="simple projector 2" version="0.0.1">
<description>Projects a simple dictionary on sections.</description>
<!--command interpreter="python">
simpleprojector2.py
-verbose ${verbose}
-noColors ${noColors}
-dictFile ${input}
-trieSink ${output}
-targetLayerName ${tln}
-valueFeatures ${vf}
-keyIndex ${ki}
</command-->
<command>
alvisnlp
-noColors
-param search dictFile ${input}
-param search trieSink ${output}
-param search targetLayerName ${tln}
-param search valueFeatures ${vf}
-param search keyIndex ${ki}
${plan}
</command>
<inputs>
<param format="txt" name="verbose" value="false" type="boolean" label="verbose" help=""/>
<param format="txt" name="noColors" value="false" type="boolean" label="colors" help=""/>
<param format="txt" name="input" type="data" label="dictionary" help="Source of the dictionary."/>
<param name="tln" type="text" label="Target Layer Name" value="concepts" help="Name of the layer that contains the match annotations." />
<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." />
<param name="ki" type="text" label="Key Index" value="0" help="Specifies the key column index (starting at 0)." />
<param format="txt,xml" name="plan" type="data" label="Plan" help="The plan to use." />
</inputs>
<outputs>
<data format="trie" name="output" help="If set, read the compiled dictionary from the specified files. Compiled dictionaries are generally faster for large dictionaries."/>
</outputs>
<tests>
<test>
<param name="input" value="dictionary-lemma.txt"/>
<param name="targetLayerName" value="concepts"/>
<param name="valueFeatures" value="id,entry"/>
<param name="keyIndex" value="1"/>
<output name="output" file="dictionary-lemma-output.trie"/>
</test>
</tests>
</tool>