PiperFileRunner - apache/ctakes GitHub Wiki

final public class PiperFileRunner

Runs the pipeline in the piper file specified by -p (piperfile) with any other provided arguments. Standard arguments are: -i , --inputDir {inputDirectory} -o , --outputDir {outputDirectory} -s , --subDir {subDirectory} (for i/o) --xmiOut {xmiOutputDirectory} (if different from -o) -l , --lookupXml {dictionaryConfigFile} (fast only) --key {umlsKey} -? , --help Other parameters may be declared in the piper file using the cli command: cli {parameterName}={singleCharacter} For instance, for declaration of ParagraphAnnotator path to regex file optional parameter PARAGRAPH_TYPES_PATH, in the custom piper file add the line: cli PARAGRAPH_TYPES_PATH=t and when executing this class use: PiperFileRunner( -p, path/to/my/custom.piper, -t, path/to/my/custom.bsv ... );

  • Author: SPF , chip-nlp
  • Version: %I%
  • Since: 10/13/2016

public static void main( final String... args )

  • Parameters:
    • args general run options

public static boolean run( final String... args )

  • Parameters:
    • args general run options
⚠️ **GitHub.com Fallback** ⚠️