Revision: 13779
http://gate.svn.sourceforge.net/gate/?rev=13779&view=rev
Author: kalina
Date: 2011-04-28 21:51:42 +0000 (Thu, 28 Apr 2011)
Log Message:
-----------
final for the book
Modified Paths:
--------------
userguide/trunk/Makefile
userguide/trunk/ant-tasks.tex
userguide/trunk/api.tex
userguide/trunk/corpora.tex
userguide/trunk/developer.tex
userguide/trunk/intro.tex
userguide/trunk/language-creole.tex
userguide/trunk/tao_main.tex
userguide/trunk/teamware.tex
Modified: userguide/trunk/Makefile
===================================================================
--- userguide/trunk/Makefile 2011-04-28 10:39:08 UTC (rev 13778)
+++ userguide/trunk/Makefile 2011-04-28 21:51:42 UTC (rev 13779)
@@ -11,7 +11,7 @@
TEXFILES=\
tao_main.tex intro.tex gettingstarted.tex developer.tex creole-model.tex \
corpora.tex annie.tex api.tex jape.tex annic.tex evaluation.tex \
-gate_development.tex gazetteers.tex ontologies.tex machine-learning.tex \
+gate_development.tex gazetteers.tex ontologies.tex language-creole.tex
machine-learning.tex \
alignment.tex parsers.tex uima.tex misc-creole.tex changes.tex \
plugin-name-map.tex design.tex japeimpl.tex ant-tasks.tex negram.tex \
postag.tex mlconfig.tex iaa-kappa.tex shortcuts.tex colophon.tex \
Modified: userguide/trunk/ant-tasks.tex
===================================================================
--- userguide/trunk/ant-tasks.tex 2011-04-28 10:39:08 UTC (rev 13778)
+++ userguide/trunk/ant-tasks.tex 2011-04-28 21:51:42 UTC (rev 13779)
@@ -352,7 +352,7 @@
\end{small}
Resources declared in the \texttt{extraresourcespath} and directories included
-using \verb|copyResourceDirs| are treated exactly the same as resources that
+using\linebreak \verb|copyResourceDirs| are treated exactly the same as
resources that
are referenced by the GAPP file - their target locations in the package are
determined by the mapping hints, default plugin-based hints, and the
\texttt{onUnresolved} setting as above. If you want to put extra resource
Modified: userguide/trunk/api.tex
===================================================================
--- userguide/trunk/api.tex 2011-04-28 10:39:08 UTC (rev 13778)
+++ userguide/trunk/api.tex 2011-04-28 21:51:42 UTC (rev 13779)
@@ -915,7 +915,7 @@
Additionally there is a {\em scriptable controller} provided by the Groovy
plugin. See section~\ref{sec:api:groovy:controller} for details.
-\begin{minipage}{\textwidth}
+%\begin{minipage}{\textwidth}
{\bf Creating an ANNIE application and running it over a corpus}
@@ -949,7 +949,7 @@
annieController.execute();
\end{lstlisting}
-\end{minipage}
+%\end{minipage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\sect[sec:api:duplicate]{Duplicating a Resource}
@@ -1050,7 +1050,7 @@
\end{table}
-\begin{minipage}{\textwidth}
+%\begin{minipage}{\textwidth}
{\b Saving and loading a GATE application}
@@ -1073,7 +1073,7 @@
loadObjectFromFile(file);
\end{lstlisting}
-\end{minipage}
+%\end{minipage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\sect{Ontologies}
Modified: userguide/trunk/corpora.tex
===================================================================
--- userguide/trunk/corpora.tex 2011-04-28 10:39:08 UTC (rev 13778)
+++ userguide/trunk/corpora.tex 2011-04-28 21:51:42 UTC (rev 13779)
@@ -708,10 +708,10 @@
By default, GATE will retain the namespace prefix and namespace URIs of XML
elements when creating annotations and features within the \textbf{Original
markups}
annotation set. For example, the element
-\begin{verbatim}<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Document
title</dc:title>\end{verbatim}
+\begin{small}\begin{verbatim}<dc:title
xmlns:dc="http://purl.org/dc/elements/1.1/">Document
title</dc:title>\end{verbatim}\end{small}
will create the following annotation
-\begin{verbatim}dc:title(xmlns:dc=http://purl.org/dc/elements/1.1/)\end{verbatim}
+\begin{small}\begin{verbatim}dc:title(xmlns:dc=http://purl.org/dc/elements/1.1/)\end{verbatim}\end{small}
However, as the colon character '{\tt :}' is a reserved meta-character in
JAPE, it is
not possible to write a JAPE rule that will match the {\tt dc:title} element
or its namespace URI.
@@ -730,29 +730,39 @@
i.e.
+\begin{small}
\begin{verbatim}<GATECONFIG
addNamespaceFeatures="true"
namespaceURI="namespace"
namespacePrefix="prefix" />\end{verbatim}
+\end{small}
For example
+\begin{small}
\begin{verbatim}<dc:title>Document title</dc:title>\end{verbatim}
+\end{small}
would create in Original markups AS (assuming the {\tt xmlns:dc} URI has
defined in the document root or parent element)
+\begin{small}
\begin{verbatim}title(prefix=dc,
namespace=http://purl.org/dc/elements/1.1/)\end{verbatim}
+\end{small}
If a JAPE rule is written to create a new annotation, e.g.
+\begin{small}
\begin{verbatim}description(prefix=foo,
namespace=http://www.example.org/)\end{verbatim}
+\end{small}
then these would be serialized to
+\begin{small}
\begin{verbatim}
<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Document title</dc:title>
<foo:description xmlns:foo="http://www.example.org/">...</foo:description>
\end{verbatim}
+\end{small}
when using the '\textbf{Save preserving document format}' XML output option
(see \ref{sec:corpora:saveasxml} below).
Modified: userguide/trunk/developer.tex
===================================================================
--- userguide/trunk/developer.tex 2011-04-28 10:39:08 UTC (rev 13778)
+++ userguide/trunk/developer.tex 2011-04-28 21:51:42 UTC (rev 13779)
@@ -674,8 +674,8 @@
this plugin loaded, the annotation editor will \emph{only} offer the annotation
types permitted by the currently loaded set of schemas, and when you select an
annotation type only the features permitted by the schema are available to
-edit\footnote{existing features outwith the schema, e.g. those created by
-previously-run processing resources, are not editable but not modified or
+edit\footnote{Existing features take precedence over the schema, e.g. those
created by
+previously-run processing resources, are not editable but are not modified or
removed by the editor.}. Where a feature is declared as having an enumerated
type the available enumeration values are presented as an array of buttons,
making it easy to select the required value quickly.
Modified: userguide/trunk/intro.tex
===================================================================
--- userguide/trunk/intro.tex 2011-04-28 10:39:08 UTC (rev 13778)
+++ userguide/trunk/intro.tex 2011-04-28 21:51:42 UTC (rev 13779)
@@ -569,7 +569,14 @@
finished in half a day -- the code to talk to GATE takes up only
around 150 lines of the eventual application, most of which is just
copied from the example in the
+\ifprintedbook
+%This is because it's a huge overfull in the footnote, and I need to hyphenate
that URL for the book
+%to make it agree with the printers. But inserting the optional hyphenation
point breaks the URL when not
+%rendered as footnote in the book. Hence this solution, until somebody gets a
better idea!
+\htlink{http://gate.ac.uk/wiki/code-repository/javadoc/src-html/sheffield/examples/\-Stand\-Alone\-Annie.html}{{\small\tt
sheffield.examples.StandAloneAnnie}} class.
+\else
\htlink{http://gate.ac.uk/wiki/code-repository/javadoc/src-html/sheffield/examples/StandAloneAnnie.html}{{\small\tt
sheffield.examples.StandAloneAnnie}} class.
+\fi
Because Fatima is worried about Cyberdyne's unethical policy of developing
Skynet to help the large corporates of the West strengthen their
@@ -1142,6 +1149,8 @@
%
\end{description}
+\ifprintedbook
+\else
\textbf{Older than 2002}
\begin{description}
@@ -1223,3 +1232,4 @@
%
\end{description}
%
+\fi
Modified: userguide/trunk/language-creole.tex
===================================================================
--- userguide/trunk/language-creole.tex 2011-04-28 10:39:08 UTC (rev 13778)
+++ userguide/trunk/language-creole.tex 2011-04-28 21:51:42 UTC (rev 13779)
@@ -113,7 +113,7 @@
The Chinese plugin contains two components: a simple application for Chinese
NE recognition (chinese.gapp) and a component called ``Chinese Segmenter''.
-In order to use the former, simply load the application from the
+In order to use the former, simply load the application from the\linebreak
plugins/Lang\_Chinese/resources directory. You do not need to load the plugin
itself from the GATE Developer's Plugin
Management Console. The application contains resources
Modified: userguide/trunk/tao_main.tex
===================================================================
--- userguide/trunk/tao_main.tex 2011-04-28 10:39:08 UTC (rev 13778)
+++ userguide/trunk/tao_main.tex 2011-04-28 21:51:42 UTC (rev 13779)
@@ -698,6 +698,7 @@
\renewcommand{\bibname}{References}
\markboth{References}{References}
\addcontentsline{toc}{chapter}{References}
+\small
\bibliography{../big}
\ifprintedbook
Modified: userguide/trunk/teamware.tex
===================================================================
--- userguide/trunk/teamware.tex 2011-04-28 10:39:08 UTC (rev 13778)
+++ userguide/trunk/teamware.tex 2011-04-28 21:51:42 UTC (rev 13779)
@@ -93,11 +93,11 @@
\begin{figure}[tbh!]
\begin{center}
\includegraphics[scale=0.4]{teamware-arch-anon.png}
-\vspace{-4.0ex}
+%\vspace{-4.0ex}
\caption{\teamware\ Architecture Diagram} \label{fig:architecture}
\end{center}
\end{figure}
-\vspace{-5.0ex}
+%\vspace{-5.0ex}
\section{\teamware: Architecture, Implementation, and
Examples}\label{sect:teamware}
@@ -187,11 +187,11 @@
\begin{figure}[h!]
\begin{center}
\includegraphics[scale=0.35]{teamware-project-stats.png}
-\vspace{-4.0ex}
+%\vspace{-4.0ex}
\caption{Project Progress Monitoring UI} \label{fig:monitorGUI}
\end{center}
\end{figure}
-\vspace{-6.0ex}
+%\vspace{-6.0ex}
\section{Practical Applications}\label{sect:applications}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs