Revision: 15113
http://gate.svn.sourceforge.net/gate/?rev=15113&view=rev
Author: nirajaswani
Date: 2012-01-18 16:08:17 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
mention of allowing users to specify annotation type for individual gazetteer
lists
Modified Paths:
--------------
userguide/trunk/gazetteers.tex
Modified: userguide/trunk/gazetteers.tex
===================================================================
--- userguide/trunk/gazetteers.tex 2012-01-18 16:03:18 UTC (rev 15112)
+++ userguide/trunk/gazetteers.tex 2012-01-18 16:08:17 UTC (rev 15113)
@@ -77,7 +77,7 @@
The rest of this introductory section describes the
\texttt{ANNIE Gazetteer} which is part of ANNIE and also described
-in section~\ref{sec:annie:gazetteer}. The ANNIE gazetteer is part of and proved
+in section~\ref{sec:annie:gazetteer}. The ANNIE gazetteer is part of and
provided
by the ANNIE plugin.
@@ -103,17 +103,18 @@
index file.
The gazetteer index files describes for each list the major type
-and optionally, a minor type and a language, separated by colons.
-In the example below, the first column refers to the
-list name, the second column to the major type, and the third to the
-minor type. These lists are compiled into finite state machines. Any
-text strings matched by these machines will be annotated with features
-specifying the major and minor types.
+and optionally, a minor type, a language and an annotation type,
+separated by colons. In the example below, the first column refers to
+the list name, the second column to the major type, the third to the
+minor type, the fourth column to the language and the fifth column
+to the annotation type. These lists are compiled into finite state
+machines. Any text strings matched by these machines will be
+annotated with features specifying the major and minor types.
\begin{small}\begin{verbatim}
currency_prefix.lst:currency_unit:pre_amount
currency_unit.lst:currency_unit:post_amount
-date.lst:date:specific_date
+date.lst:date:specific_date::Date
day.lst:date:day
monthen.lst:date:month:en
monthde.lst:date:month:de
@@ -128,6 +129,11 @@
and assign the features \texttt{major="currency\_unit"} and
\texttt{minor="post\_amount"} to that annotation.
+By default the ANNIE Gazetteer PR creates Lookup annotations. However,
+if a user has specified a specific annotation type for a list, the Gazetteer
uses
+the specified annotation type to annotate entries that are part of the
specified
+list and appear in the document being processed.
+
Grammar rules (JAPE rules) can specify the types to be identified in particular
circumstances. The major and minor types enable this identification to
take place, by giving access to items stored in particular lists or
@@ -178,7 +184,7 @@
It is composed of two tables:
\begin{itemize}
-\item a left table with 4 columns (List name, Major, Minor, Language) for the
+\item a left table with 5 columns (List name, Major, Minor, Language,
Annotation type) for the
index, usually a .def file
\item a right table with 1+2*n columns (Value, Feature 1, Value 1...Feature
n, Value n) for the lists, usually .lst files
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs