You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by se...@apache.org on 2013/01/09 20:15:53 UTC

svn commit: r1431015 - in /incubator/ctakes/trunk/ctakes-side-effect/desc: collection_processing_engine/ cpe/

Author: seanfinan
Date: Wed Jan  9 19:15:52 2013
New Revision: 1431015

URL: http://svn.apache.org/viewvc?rev=1431015&view=rev
Log:
CTAKES-120 : Moving CPEs from directory cpe/ to collection_processing_engine/ to conform with new structure

Added:
    incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectCPE.xml   (with props)
    incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentenceCPE.xml   (with props)
    incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentence_CDA_CPE.xml   (with props)
    incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffect_CDA_CPE.xml   (with props)
Removed:
    incubator/ctakes/trunk/ctakes-side-effect/desc/cpe/

Added: incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectCPE.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectCPE.xml?rev=1431015&view=auto
==============================================================================
--- incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectCPE.xml (added)
+++ incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectCPE.xml Wed Jan  9 19:15:52 2013
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<cpeDescription xmlns="http://uima.apache.org/resourceSpecifier">
+    <collectionReader>
+        <collectionIterator>
+            <descriptor>
+                <import location="../../../ctakes-core/desc/collection_reader/FilesInDirectoryCollectionReader.xml"/>
+            </descriptor>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>InputDirectory</name>
+                    <value>
+                        <string>/dir_with_input_files</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </collectionIterator>
+    </collectionReader>
+    <casProcessors casPoolSize="3" processingUnitThreadCount="1">
+        <casProcessor deployment="integrated" name="SideEffectAggregateTAE">
+            <descriptor>
+                <import location="../analysis_engine/SideEffectAggregateTAE.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+        </casProcessor>
+        <casProcessor deployment="integrated" name="SideEffectCasConsumer">
+            <descriptor>
+                <import location="../cas_consumer/SideEffectCasConsumer.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>OutputFile</name>
+                    <value>
+                        <string>/output_dir/output.txt</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </casProcessor>
+        <casProcessor deployment="integrated" name="XCAS Writer CAS Consumer">
+            <descriptor>
+                <import location="../../../ctakes-core/desc/cas_consumer/XCasWriterCasConsumer.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>OutputDirectory</name>
+                    <value>
+                        <string>/output_dir/xcas</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </casProcessor>
+    </casProcessors>
+    <cpeConfig>
+        <numToProcess>-1</numToProcess>
+        <deployAs>immediate</deployAs>
+        <checkpoint batch="0" time="300000"/>
+        <timerImpl/>
+    </cpeConfig>
+</cpeDescription>

Propchange: incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectCPE.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentenceCPE.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentenceCPE.xml?rev=1431015&view=auto
==============================================================================
--- incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentenceCPE.xml (added)
+++ incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentenceCPE.xml Wed Jan  9 19:15:52 2013
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<cpeDescription xmlns="http://uima.apache.org/resourceSpecifier">
+    <collectionReader>
+        <collectionIterator>
+            <descriptor>
+                <import location="../../../ctakes-core/desc/collection_reader/FilesInDirectoryCollectionReader.xml"/>
+            </descriptor>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>InputDirectory</name>
+                    <value>
+                        <string>/Volumes/bmi/Dept/projects/Text/Outcomes/data/manual_annotations/round3/texts</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </collectionIterator>
+    </collectionReader>
+    <casProcessors casPoolSize="3" processingUnitThreadCount="1">
+        <casProcessor deployment="integrated" name="SideEffectSentenceAggregateTAE">
+            <descriptor>
+                <import location="../analysis_engine/SideEffectSentenceAggregateTAE.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+        </casProcessor>
+        <casProcessor deployment="integrated" name="SideEffectSentenceCasConsumer">
+            <descriptor>
+                <import location="../cas_consumer/SideEffectSentenceCasConsumer.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>OutputFile</name>
+                    <value>
+                        <string>/Volumes/bmi/Dept/projects/Text/Outcomes/data/manual_annotations/round3/texts/out/sideEffectsSentence.txt</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </casProcessor>
+    </casProcessors>
+    <cpeConfig>
+        <numToProcess>-1</numToProcess>
+        <deployAs>immediate</deployAs>
+        <checkpoint batch="0" time="300000"/>
+        <timerImpl/>
+    </cpeConfig>
+</cpeDescription>

Propchange: incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentenceCPE.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentence_CDA_CPE.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentence_CDA_CPE.xml?rev=1431015&view=auto
==============================================================================
--- incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentence_CDA_CPE.xml (added)
+++ incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentence_CDA_CPE.xml Wed Jan  9 19:15:52 2013
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<cpeDescription xmlns="http://uima.apache.org/resourceSpecifier">
+    <collectionReader>
+        <collectionIterator>
+            <descriptor>
+                <import location="../../../ctakes-core/desc/collection_reader/FilesInDirectoryCollectionReader.xml"/>
+            </descriptor>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>InputDirectory</name>
+                    <value>
+                        <string>/Volumes/bmi/Dept/projects/Text/Outcomes/data/manual_annotations/round3/texts</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </collectionIterator>
+    </collectionReader>
+    <casProcessors casPoolSize="3" processingUnitThreadCount="1">
+        <casProcessor deployment="integrated" name="SideEffectSentenceAggregateTAE">
+            <descriptor>
+                <import location="../analysis_engine/SideEffectSentenceAggregate_CDA_TAE.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+        </casProcessor>
+        <casProcessor deployment="integrated" name="SideEffectSentenceCasConsumer">
+            <descriptor>
+                <import location="../cas_consumer/SideEffectSentenceCasConsumer.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>OutputFile</name>
+                    <value>
+                        <string>/Volumes/bmi/Dept/projects/Text/Outcomes/data/manual_annotations/round3/texts/out/sideEffectsSentence.txt</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </casProcessor>
+    </casProcessors>
+    <cpeConfig>
+        <numToProcess>-1</numToProcess>
+        <deployAs>immediate</deployAs>
+        <checkpoint batch="0" time="300000"/>
+        <timerImpl/>
+    </cpeConfig>
+</cpeDescription>

Propchange: incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffectSentence_CDA_CPE.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffect_CDA_CPE.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffect_CDA_CPE.xml?rev=1431015&view=auto
==============================================================================
--- incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffect_CDA_CPE.xml (added)
+++ incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffect_CDA_CPE.xml Wed Jan  9 19:15:52 2013
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<cpeDescription xmlns="http://uima.apache.org/resourceSpecifier">
+    <collectionReader>
+        <collectionIterator>
+            <descriptor>
+                <import location="../../../ctakes-core/desc/collection_reader/FilesInDirectoryCollectionReader.xml"/>
+            </descriptor>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>InputDirectory</name>
+                    <value>
+                        <string>/dir_with_input_files</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </collectionIterator>
+    </collectionReader>
+    <casProcessors casPoolSize="3" processingUnitThreadCount="1">
+        <casProcessor deployment="integrated" name="SideEffectAggregateTAE">
+            <descriptor>
+                <import location="../analysis_engine/SideEffectAggregate_CDA_TAE.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+        </casProcessor>
+        <casProcessor deployment="integrated" name="SideEffectCasConsumer">
+            <descriptor>
+                <import location="../cas_consumer/SideEffectCasConsumer.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>OutputFile</name>
+                    <value>
+                        <string>/output_dir/output.txt</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </casProcessor>
+        <casProcessor deployment="integrated" name="XCAS Writer CAS Consumer">
+            <descriptor>
+                <import location="../../../ctakes-core/desc/cas_consumer/XCasWriterCasConsumer.xml"/>
+            </descriptor>
+            <deploymentParameters/>
+            <errorHandling>
+                <errorRateThreshold action="terminate" value="0/1000"/>
+                <maxConsecutiveRestarts action="terminate" value="30"/>
+                <timeout max="100000" default="-1"/>
+            </errorHandling>
+            <checkpoint batch="10000" time="1000ms"/>
+            <configurationParameterSettings>
+                <nameValuePair>
+                    <name>OutputDirectory</name>
+                    <value>
+                        <string>/output_dir/xcas</string>
+                    </value>
+                </nameValuePair>
+            </configurationParameterSettings>
+        </casProcessor>
+    </casProcessors>
+    <cpeConfig>
+        <numToProcess>-1</numToProcess>
+        <deployAs>immediate</deployAs>
+        <checkpoint batch="0" time="300000"/>
+        <timerImpl/>
+    </cpeConfig>
+</cpeDescription>

Propchange: incubator/ctakes/trunk/ctakes-side-effect/desc/collection_processing_engine/SideEffect_CDA_CPE.xml
------------------------------------------------------------------------------
    svn:eol-style = native