THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Create an empty text file. The standard file extension for piper files is
.piper
- Set a reader for your pipeline. To set values to parameters used by the reader class, simply add one or more
name=value
pairs after the class name. * readFiles is a convenience command. "readFiles my/data
" is equivalent to "reader FileTreeReader InputDirectory=my/data
". - add annotation engines and cas consumers to your pipeline. To set values to parameters used by the annotation engine class, simply add one or more
name=value
pairs after the class name. - load common groups of components from another piper file. See Table 2 for piper files in cTAKES.
- reader, load and To add multiple pipeline components from a package not standard to cTAKES, use the package command to point to it.
reader, load and add* commands all take class names or file directories as their first parameter. If the class is not in a standard cTAKES module's cr ae or or cc package package, or a piper file is not in a standard module's s pipeline/ directory then the package or path must be specified for that component / file. Using package simplifies this - Use package to simplify adding multiple pipeline components from a package not standard to cTAKES.
Gliffy Diagram chrome min name Use of package - To easily add multiple components that use the same parameter, use Use set to assign a value to that a parameter used by following components.
Gliffy Diagram name set global value
*Aname=value
pair on a component line will, for that component, override a set parameter value. cli is a special type of Set a reader for your pipeline. readFiles is a convenience method, . "readFiles my/data" is equivalent to "reader
FileTreeReader
". Note: if you run withPiperFileRunner
and do not specify a reader thenFileTreeReader
will be usedInputDirectory=my/data
".- To add common groups of components, load another piper file. See Table 2 for piper files in cTAKES.
- If you add annotation engines and cas consumers to your pipeline.
Module | Piper file | Description |
---|---|---|
core | DefaultTokenizerPipeline | Complete Tokenizer pipeline. |
chunker | ChunkerSubPipe | Chunker partial pipeline. |
assertion | AssertionSubPipe | Entity attribute partial pipeline. |
assertion | AttributeCleartkSubPipe | Entity attribute partial pipeline. |
clinical-pipeline | DefaultFastPipeline | Complete Clinical pipeline. |
...