Mercurial > repos > stevecassidy > nltktools
comparison g_chart_parser.xml @ 0:e991d4e60c17 draft
planemo upload commit 0203cb3a0b40d9348674b2b098af805e2986abca-dirty
| author | stevecassidy |
|---|---|
| date | Wed, 12 Oct 2016 22:17:53 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:e991d4e60c17 |
|---|---|
| 1 <tool id="ChartParser" name="Chart Parser" version="1.0"> | |
| 2 <description>Parse the sentence using Chart Parser and a supplied grammar</description> | |
| 3 <requirements> | |
| 4 <requirement type="package" version="3.2.1">nltk</requirement> | |
| 5 </requirements> | |
| 6 | |
| 7 <command interpreter="python"> | |
| 8 g_chart_parser.py --input $input1 --grammar $grammar --output $tab_file | |
| 9 </command> | |
| 10 | |
| 11 <inputs> | |
| 12 <param name="input1" type="data" format="txt" label="Select a suitable input file from your history"/> | |
| 13 <param name="grammar" type="data" format="txt" label="Grammar file to use in parsing"/> | |
| 14 <param name="job_name" type="text" size="25" label="Supply a name for the outputs to remind you what they contain" value="Chart Parser"/> | |
| 15 </inputs> | |
| 16 <outputs> | |
| 17 <data format="tabular" name="tab_file" label="${job_name}"/> | |
| 18 </outputs> | |
| 19 <options refresh="True"/> | |
| 20 <help> | |
| 21 <![CDATA[ | |
| 22 | |
| 23 Input is sentence segmented text and a suitable grammar. Run the chart parser over the sentence using the grammar. Output is a bracketed parse tree for the sentences. | |
| 24 | |
| 25 ]]> | |
| 26 | |
| 27 </help> | |
| 28 </tool> |
