You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by bu...@apache.org on 2014/01/09 22:04:52 UTC

svn commit: r1556951 - in /uima/sandbox/uima-ducc/trunk: uima-ducc-duccdocs/src/site/tex/duccbook/part3/ uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/

Author: burn
Date: Thu Jan  9 21:04:52 2014
New Revision: 1556951

URL: http://svn.apache.org/r1556951
Log:
UIMA-3439 Small clarifications in sample app docs

Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex
    uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccCasInputSpec.job
    uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccRawTextSpec.job

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex?rev=1556951&r1=1556950&r2=1556951&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex Thu Jan  9 21:04:52 2014
@@ -280,16 +280,18 @@ Copy a UIMA logger configuration file th
 
 Copy the executable code and resources for the DUCC sample application components:
 \begin{verbatim}
-   cp $DUCC_HOME/lib/uima-ducc/examples/uima-ducc-examples*.jar .
+   mkdir lib
+   cp $DUCC_HOME/lib/uima-ducc/examples/uima-ducc-examples*.jar lib
 \end{verbatim}
 
 For reference the source code for DUCC sample applications is in \ducchome/examples/src,
 with descriptors in \ducchome/examples/sampleapps/descriptors.
 
 \section{Download and Install OpenNLP}
-Download OpenNLP from http://opennlp.apache.org and follow the directions in the
-{\em UIMA Integration} section of their manual to build the UIMA pear file.
-Then {\em install} the UIMA pear file in the working directory and
+Download the OpenNLP source distribution from http://opennlp.apache.org and follow the directions in the
+{\em UIMA Integration} section of the included documentation to build the UIMA pear file.
+Then {\em install} the UIMA pear file in the working directory 
+with the {\em runPearInstaller} script and
 test it with the UIMA Cas Visual Debugger application.
 
 A small modification of the installed OpenNLP descriptor file
@@ -306,7 +308,8 @@ We used test data from gutenberg.org at
    http://www.gutenberg.org/ebooks/search/?sort_order=downloads
 \end{verbatim}
 downloading 'Plain Text UTF-8' versions of {\em Moby Dick}, {\em War and Peace} and {\em The Complete Works of William Shakespeare} 
-to a subdirectory `Books', and removing all 'CR' characters (0xD) as well as extraneous text.
+as flat text files in
+a subdirectory `Books', and removing all 'CR' characters (0xD) as well as extraneous text.
 
 \section{Run the Job}
 The job specification, DuccRawTextSpec.job, uses placeholders to reference the working directory
@@ -376,6 +379,9 @@ was 0.5\%, and the time reading the inpu
 The main purpose of this application is to demonstrate the overhead of processing a collection of CASes grouped into 
 zipfiles and stored as ZIP compressed XmiCas or with UIMA compressed binary form 6 format.
 
+	\begin{description}
+    \item[Note:] This application depends on successful processing of the work in the previous chapter.
+	\end{description}
 
 \section{Configuration Parameters}
 The Collection Reader for this job is the DuccJobCasCR. It has the following configuration

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccCasInputSpec.job
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccCasInputSpec.job?rev=1556951&r1=1556950&r2=1556951&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccCasInputSpec.job (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccCasInputSpec.job Thu Jan  9 21:04:52 2014
@@ -28,7 +28,7 @@ process_jvm_args        -Xmx1G -XX:+UseC
 scheduling_class        normal
 working_directory       ${MyAppDir}
 log_directory           ${MyAppDir}/logs
-classpath               ${MyAppDir}/uima-ducc-examples-1.0.0.jar:${MyAppDir}/opennlp.uima.OpenNlpTextAnalyzer
+classpath               ${MyAppDir}/lib/*:${MyAppDir}/opennlp.uima.OpenNlpTextAnalyzer
 process_per_item_time_max       10
 driver_descriptor_CR_overrides  SendToLast=true InputSpec=${MyInputDir} OutputDirectory=${MyOutputDir}
 process_descriptor_CC_overrides UseBinaryCompression=true

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccRawTextSpec.job
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccRawTextSpec.job?rev=1556951&r1=1556950&r2=1556951&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccRawTextSpec.job (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/resources/org/apache/uima/ducc/sampleapps/DuccRawTextSpec.job Thu Jan  9 21:04:52 2014
@@ -28,7 +28,7 @@ scheduling_class                normal
 working_directory               ${MyAppDir}
 log_directory                   ${MyAppDir}/logs
 process_per_item_time_max       10
-classpath                       ${MyAppDir}/uima-ducc-examples-1.0.0.jar
+classpath                       ${MyAppDir}/lib/*
 driver_descriptor_CR_overrides  BlockSize=100000 SendToLast=true InputDirectory=${MyInputDir} OutputDirectory=${MyOutputDir}
 process_descriptor_CC_overrides UseBinaryCompression=true
 wait_for_completion