Creating a custom pipeline in cTAKES can be a daunting task. One of the most challenging elements is simply knowing what Pipe Bits and pieces are available to create a pipeline, as well as what data types those Pipe Bits depend upon and produce. The Simple Pipeline Fabricator GUI can help provide this information.
The Simple Pipeline Fabricator can save your pipeline in a reusable Piper File, as well as load and run Piper Files. It only assists creating cTAKES pipelines, displaying information and allowing selection of available Readers, Annotators and Writers (Pipe Bits). It also displays information and facilitates assigning values to Pipe Bit parameters. However, creating a proper working pipeline requires knowledge of basic NLP artifacts and dataflow.
Before or while using the Simple Pipeline Fabricator GUI, reference the information on Piper Files.
bin/runPiperCreator
bin/runPiperFile
script is recommended.
There are four basic types of pipe bit: Reader , Annotator , Writer and Utility Pipe Bits in the Available Pipe Bit list have icons indicating dependency data types and product datatypes. Icons to the left of the pipe bit name are dependencies. Icons to the right are products. The Available Pipe Bit list sorts pipe bits by complexity of datatype dependencies. Bits in your pipeline should follow the same general order. Older (pre-uimaFIT™) Pipe Bits will not display parameter information. Use with care. Unrecognized pipe bits without @PipeBitInfo Java annotations will have a grey background in the Available Pipe Bit list. Use with care. The Piper File editor on the right has some simple text coloring. If a command is invalid it will be displayed in underlined red. Lines added by the tool are verbose. You can manually edit or rearrange them to improve the piper file. Click Validate to confirm a good edit. Occasionally Validate will "time out" - there will be a message in the bottom log panel. Click Validate again. |
General datatypes and their associated icons in the Available Pipe Bit list
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|