ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1872002 - /ctakes/trunk/ctakes-examples-res/src/main/resources/org/apache/ctakes/examples/pipeline/FullPipeline.piper
Date Thu, 26 Dec 2019 16:04:34 GMT
Author: seanfinan
Date: Thu Dec 26 16:04:34 2019
New Revision: 1872002

URL: http://svn.apache.org/viewvc?rev=1872002&view=rev
Log:
Add some forced default output

Modified:
    ctakes/trunk/ctakes-examples-res/src/main/resources/org/apache/ctakes/examples/pipeline/FullPipeline.piper

Modified: ctakes/trunk/ctakes-examples-res/src/main/resources/org/apache/ctakes/examples/pipeline/FullPipeline.piper
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-examples-res/src/main/resources/org/apache/ctakes/examples/pipeline/FullPipeline.piper?rev=1872002&r1=1872001&r2=1872002&view=diff
==============================================================================
--- ctakes/trunk/ctakes-examples-res/src/main/resources/org/apache/ctakes/examples/pipeline/FullPipeline.piper
(original)
+++ ctakes/trunk/ctakes-examples-res/src/main/resources/org/apache/ctakes/examples/pipeline/FullPipeline.piper
Thu Dec 26 16:04:34 2019
@@ -1,34 +1,83 @@
+//reader LinesFromFileCollectionReader InputFileName=C:/Spiffy/ctakes_trunk/ctakes-examples-res/src/main/resources/org/apache/ctakes/examples/notes/right_knee_arthroscopy
 
-// Advanced Tokenization: Regex sectionization, BIO Sentence Detector (lumper), Paragraphs,
Lists
-load FullTokenizerPipeline
-// OR use the standard tokenizer pipeline:
-//load DefaultTokenizerPipeline
+set SectionsBsv=org/apache/ctakes/core/sections/SameLineSectionRegex.bsv
 
-// Always need these ...
+//load DefaultFastPipeline
+//load SectionedFastPipeline
+
+//// Use section headers that can be on the same line as the section's body
+//set SectionsBsv=org/apache/ctakes/core/sections/SameLineSectionRegex.bsv
+//// Advanced Tokenization: Regex sectionization, BIO Sentence Detector (lumper), Paragraphs,
Lists
+////load FullTokenizerPipeline
+//// OR use the standard tokenizer pipeline:
+load DefaultTokenizerPipeline
+//
+//// Always need these ...
 add ContextDependentTokenizerAnnotator
 add POSTagger
-
-// Chunkers
+//
+//// Chunkers
 load ChunkerSubPipe
-
-// Default fast dictionary lookup
-set minimumSpan=2
+//
+//// Default fast dictionary lookup
+////set minimumSpan=2
 load DictionarySubPipe
-
-// Cleartk Entity Attributes (negation, uncertainty, etc.)
+//
+//// Cleartk Entity Attributes (negation, uncertainty, etc.)
 load AttributeCleartkSubPipe
+////load WindowedAttributeCleartkSubPipe
+//
+//// Entity Relations (degree/severity, anatomical location)
+//load RelationSubPipe
+//
+//// Temporal (event, time, dtr, tlink)
+load TemporalSubPipe
 
-// Entity Relations (degree/severity, anatomical location)
+//// Entity Relations (degree/severity, anatomical location)
 load RelationSubPipe
 
-// Temporal (event, time, dtr, tlink)
-load TemporalSubPipe
-
-// Coreferences (e.g. patient = he)
+//
+//// Coreferences (e.g. patient = he)
 load CorefSubPipe
+//
+//// Write Html files
+add pretty.html.HtmlTextWriter SubDirectory=HTML
+//
+//// Write Fast Health Interoperability Resources (FHIR) json files.  fhir.org
+//package org.apache.ctakes.fhir.cc
+//add FhirJsonFileWriter SubDirectory=FHIR
+////
+//////  JDBC driver ClassName.
+////set DbDriver=com.ibm.db2.jcc.DB2Driver
+////
+//////  JDBC URL that specifies database network location and name.
+////set DbUrl=jdbc:db2://localhost:0000/changeme
+////
+//////  Username for database authentication.
+////set DbUser=changeme
+////
+//////  Password for database authentication.
+////set DbPass=changeme
+////
+////// Name of the Observation_Fact table for writing output.
+////set FactOutputTable=changeme
+////add jdbc.i2b2.I2b2JdbcWriter
+//
+//// XMI output
+//writeXmis
+//
+//// HTML output
+writeHtml
+//
+//// Write plaintext copy of note text with cui, semantic group, POS.  Relations are listed.
+add pretty.plaintext.PrettyTextWriterFit SubDirectory=TEXT
+
+// Write plaintext copy of note sentences with entities and relations listed.
+add property.plaintext.PropertyTextWriterFit SubDirectory=PROP
 
-// Html output
-add pretty.html.HtmlTextWriter
+//add SimpleMedDatesFinder SectionList=org/apache/ctakes/temporal/ae/section/DefaultMedSections.txt
LookupWindow=org.apache.ctakes.typesystem.type.textspan.Segment
 
-// XMI output
-//writeXmis
+//add SimpleMedDatesPrinter
+
+// Log run time stats and completion
+addLast util.FinishedLogger



Mime
View raw message