You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ctakes.apache.org by Narayan Bhat <bn...@manuhsolutions.com> on 2017/05/04 07:11:21 UTC

Piper validation timeout

Hi

I have created a simple piper file as shown below. But unable to get the
piper file validated as its getting timed out every time. Is there any time
out configuration that we can change or something wrong with the piper bits
in the file?

//  Files in Dir Reader
//  Reads document texts from text files in a directory.
reader org.apache.ctakes.core.cr.FilesInDirectoryCollectionReader
InputDirectory=C:\Users\xxx\cTAKES\Inbound
//  Single Sectionizer
//  Annotates Document as a single Section.
add org.apache.ctakes.core.ae.SimpleSegmentAnnotator
//  Sentence Detector
//  Annotates Sentences based upon an OpenNLP model.
add org.apache.ctakes.core.ae.SentenceDetector
//  PTB Tokenizer
//  Annotates Document Penn TreeBank Tokens.
add org.apache.ctakes.core.ae.TokenizerAnnotatorPTB
//  LVG Annotator
//  Adds cononical form of words.
add org.apache.ctakes.lvg.ae.LvgAnnotator
//  Chunker
//  Annotator that generates chunks of any kind as specified by the chunker
model and the chunk creator.
add org.apache.ctakes.chunker.ae.Chunker
addDescription adjuster.ChunkAdjuster NP,NP 1
addDescription adjuster.ChunkAdjuster NP,PP,NP 2
//  Dictionary Lookup (Default)
//  Annotates clinically-relevant terms.  Terms must match dictionary
entries exactly.
add org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator
//  XMI Writer
//  Writes XMI files with full representation of input text and all
extracted information.
#   OutputDirectory  Output directory to write xmi files
add org.apache.ctakes.core.cc.XmiWriterCasConsumerCtakes
OutputDirectory=C:\Users\xxx\cTAKES\Outbound

-- 
Thanks and Regards
Narayan L Bhat
+91 9740237967