view g_read_sents.xml @ 3:0df72a8ab095 draft default tip

planemo upload for repository https://github.com/Alveo/alveo-galaxy-tools commit f2432aaedd36ae7662873623d8861d0982dffdd2
author stevecassidy
date Mon, 20 Nov 2017 22:52:11 -0500
parents a47980ef2b96
children
line wrap: on
line source

<tool id="ReadSents" name="Sentence Segmenter" version="1.0">
    <description>Segments the text input into separate sentences</description>

    <requirements>
        <requirement type="package" version="3.2.1">nltk</requirement>
    </requirements>

    <command interpreter="python">
        g_read_sents.py --input $input1 --output $tab_file
    </command>

    <inputs>
        <param name="input1" type="data" format="txt" label="Select a suitable input file from your history"/>
        <param name="job_name" type="text" size="25"
               label="Supply a name for the outputs to remind you what they contain" value="Sentence Segmenter"/>

    </inputs>
    <outputs>
        <data format="txt" name="tab_file" label="${job_name}"/>

    </outputs>
    <options refresh="True"/>
    <help>
        <![CDATA[

Segment text input into sentences using the Punkt sentence segmenter. Output is one sentence per line.

]]>

    </help>
</tool>