Revision: 14986
http://gate.svn.sourceforge.net/gate/?rev=14986&view=rev
Author: nirajaswani
Date: 2012-01-10 16:31:52 +0000 (Tue, 10 Jan 2012)
Log Message:
-----------
changes in the flexible gazetteer
Modified Paths:
--------------
userguide/trunk/gazetteers.tex
userguide/trunk/recent-changes.tex
Modified: userguide/trunk/gazetteers.tex
===================================================================
--- userguide/trunk/gazetteers.tex 2012-01-10 15:51:32 UTC (rev 14985)
+++ userguide/trunk/gazetteers.tex 2012-01-10 16:31:52 UTC (rev 14986)
@@ -520,8 +520,7 @@
The Flexible Gazetteer provides users with the flexibility to choose their own
customized input and an external Gazetteer. For example, the user might want
to replace
words in the text with their base forms (which is an output of the
Morphological
-Analyser) or to segment a Chinese text (using the Chinese Tokeniser) before
-running the Gazetteer on the Chinese text.
+Analyser) before running the Gazetteer.
The Flexible Gazetteer performs lookup over a document based on the
values of an arbitrary feature of an arbitrary annotation type, by using an
@@ -536,21 +535,22 @@
\item Document -- the document to be processed
-\item \textbf{inputAnnotationSetName} The annotationSet where the Flexible
+\item \textbf{inputASName} The annotationSet where the Flexible
Gazetteer should search for the AnnotationType.feature specified in the
inputFeatureNames.
-\item \textbf{outputAnnotationSetName} The AnnotationSet where Lookup
+\item \textbf{outputASName} The AnnotationSet where Lookup
annotations should be placed.
Creation time parameters:
\item \textbf{inputFeatureNames} -- when selected, these feature values are
used to
-replace the corresponding original text. A temporary document is created from
-the values of the specified features on the specified annotation types. For
-example: for Token.string the temporary document will have the same content as
-the original one but all the SpaceToken annotations will have been replaced by
-single spaces.
+replace the corresponding original text. For each feature, a temporary
document is
+created from the values of the specified features on the specified annotation
types. For
+example: for Token.root the temporary document will have content of every
Token
+replaced with its root value. In case of overlapping annotations of the same
type in
+the input, only the value of the first annotation is considered. Here, please
note that
+the order of annotations is decided by using the gate.util.OffsetComparator
class.
\item \textbf{gazetteerInst} -- the actual gazetteer instance, which should run
over a temporary document. This generates the Lookup annotations with features.
@@ -564,7 +564,6 @@
annotations on the temporary document are converted to Lookup annotations on
the
original document. Finally the temporary document is deleted.
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\sect[sec:gazetteers:listscollector]{Gazetteer List Collector}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Modified: userguide/trunk/recent-changes.tex
===================================================================
--- userguide/trunk/recent-changes.tex 2012-01-10 15:51:32 UTC (rev 14985)
+++ userguide/trunk/recent-changes.tex 2012-01-10 16:31:52 UTC (rev 14986)
@@ -29,6 +29,12 @@
Ontology\_OWLIM2, Web\_Search\_Google and Web\_Search\_Yahoo. Documentation of
obsolete plugins can
now be found in Appendix~\ref{chap:obsolete-plugins}.
+The Flexible Gazetteer PR has been rewritten to provide a better and faster
implementation.
+The two parameters \texttt{inputAnnotationSetName} and
\texttt{outputAnnotationSetName}
+have been renamed to \texttt{inputASName} and \texttt{outputASName}, however
the old
+applications with the old parameters should still work. Please see Section
\ref{sec:gazetteers:flexgazetteer}
+for more details.
+
\rcSubsect{December 2011}
Segment Processing PR has two additional run-time parameters called
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs