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
- 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 cc package, or a piper file is not in a standard module's pipeline/ directory then the package or path must be specified for that component / file. Using package simplifies this.Gliffy Diagram chrome min name Use of package - To easily add multiple components that use the same parameter, use set to assign a value to that parameter.
Gliffy Diagram name set global value Set a reader for your pipeline. readFiles is a convenience method, equivalent to "reader
FileTreeReader
". Note: if you run withPiperFileRunner
and do not specify a reader thenFileTreeReader
will be used.- To add common groups of components, load another piper file. See Table 2 for piper files in cTAKES.
- If you
Module | Piper file | Module | Description |
---|---|---|---|
core | DefaultTokenizerPipeline.pipercore | Complete Tokenizer pipeline. | |
SimpleSegmentAnnotator SentenceDetector TokenizerAnnotatorPTBchunker | ChunkerSubPipe.piper | chunker | Chunker partial pipeline. |
Chunker ChunkAdjuster (NP,NP 1) ChunkAdjuster (NP,NP,NP 2)assertion | AssertionSubPipe.piper | assertion | Entity attribute partial pipeline. |
ClearNLPDependencyParserAE ClearNLPSemanticRoleLabelerAE ConceptConverterAnalysisEngine AssertionAnalysisEngineFit GenericAttributeAnalysisEngine SubjectAttributeAnalysisEngineassertion | AttributeCleartkSubPipe.piperassertion | Entity attribute partial pipeline. | ClearNLPDependencyParserAE ClearNLPSemanticRoleLabelerAE PolarityCleartkAnalysisEngine UncertaintyCleartkAnalysisEngine HistoryCleartkAnalysisEngine ConditionalCleartkAnalysisEngine GenericCleartkAnalysisEngine SubjectCleartkAnalysisEngine|
DefaultFastPipeline.piper | clinical-pipeline | DefaultFastPipeline | Complete Clinical pipeline.DefaultTokenizerPipeline.piper ContextDependentTokenizerAnnotator POSTagger ChunkerSubPipe.piper DefaultJCasTermAnnotator AttributeCleartkSubPipe.piper |
Table 2. Available standard piper files in cTAKES.
...