Revision: 17954
http://sourceforge.net/p/gate/code/17954
Author: ian_roberts
Date: 2014-05-11 13:03:51 +0000 (Sun, 11 May 2014)
Log Message:
-----------
ANNIE schemas are no longer loaded by default
Modified Paths:
--------------
userguide/trunk/corpora.tex
userguide/trunk/developer.tex
Modified: userguide/trunk/corpora.tex
===================================================================
--- userguide/trunk/corpora.tex 2014-05-11 12:46:36 UTC (rev 17953)
+++ userguide/trunk/corpora.tex 2014-05-11 13:03:51 UTC (rev 17954)
@@ -111,7 +111,12 @@
Schemas are resources just like other GATE components. Below we give some
examples of such schemas. Section \ref{sec:developer:schemaannotationeditor}
-describes how to create new schemas.
+describes how to create new schemas. Note that each schema file defines a
+single annotation type, however it is possible to use \emph{include}
+definitions in a schema to refer to other schemas in order to load a whole set
+of schemas as a group. The default schemas for ANNIE annotation types (defined
+in \verb!resources/schema! in the ANNIE plugin) give an example of this
+technique.
\small
\subsubsection*{Date Schema}
@@ -155,7 +160,7 @@
\begin{verbatim}
<?xml version="1.0"?> <schema
xmlns="http://www.w3.org/2000/10/XMLSchema">
- <!-- XSchema deffinition for Address-->
+ <!-- XSchema definition for Address-->
<element name="Address">
<complexType>
<attribute name="kind" use="optional">
Modified: userguide/trunk/developer.tex
===================================================================
--- userguide/trunk/developer.tex 2014-05-11 12:46:36 UTC (rev 17953)
+++ userguide/trunk/developer.tex 2014-05-11 13:03:51 UTC (rev 17954)
@@ -658,29 +658,30 @@
Section~\ref{sec:corpora:schemas}. Annotation schemas provide a means to define
types of annotations in GATE Developer. Basically this means that GATE
Developer
`knows about' annotations defined in a schema.
+Annotation schemas are supported by the `Annotation schema' language resource,
+which is one of the default LR types (along with corpus and document) available
+in GATE without the need to load any plugins.
-Annotation schemas are supported by the `Annotation schema' language resource
-in ANNIE, so to use them you must first ensure that the `ANNIE' plugin is
-loaded (see Section~\ref{sec:developer:plugins}). This will load a set of
-default schemas, as well as allowing you to load schemas of your own.
+To load an annotation schema into GATE Developer, right-click on `Language
+Resources' in the resources pane. Select `New' then `Annotation schema'. A
+popup box will appear in which you can browse to your annotation schema XML
+file. A default set of annotation schemas for common annotation types
+including Person, Organization and Location is provided in the ANNIE plugin,
+and can be loaded by creating an Annotation schema LR from the file {\tt
+plugins/ANNIE/resources/schema/ANNIE-Schemas.xml} in the GATE distribution.
+You can also define your own schemas to tell GATE Developer about other kinds
+of annotations you frequently use. Each schema file can define only one
+annotation type, but you can have a master file which includes others, in order
+to load a group of schemas in one operation. The ANNIE schemas provide an
+example of this technique.
-The default annotation schemas contain common named entities such as Person,
-Organisation, Location, etc. You can modify the existing schema or create a new
-one, in order to tell GATE Developer about other kinds of annotations you
-frequently use. You can still create annotations in GATE Developer without
-having specified them in an annotation schema, but you may then need to tell
GATE
-Developer about the properties of that annotation type each time you create an
-annotation for it.
+By default GATE Developer will allow you to create any annotations in a
+document, whether or not there is a schema to describe them. An alternative
+annotation editor component is available which constrains the available
+annotation types and features much more tightly, based on the annotation
+schemas that are currently loaded. This is particularly useful when annotating
+large quantities of data or for use by less skilled users.
-To load a schema of your own, right-click on `Language Resources' in the
-resources pane. Select `New' then `Annotation schema'. A popup box will appear
in
-which you can browse to your annotation schema XML file.
-
-An alternative annotation editor component is available which constrains the
-available annotation types and features much more tightly, based on the
-annotation schemas that are currently loaded. This is particularly useful when
-annotating large quantities of data or for use by less skilled users.
-
To use this, you must load the \verb|Schema_Annotation_Editor| plugin. With
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
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs