Log in Help
Print
Homeprojectsneon 〉 webservices-plugin.html
 

Neon logo

Web Services Plugin

Summary

The GATE web services plugin makes use of various GATE Services which perform annotation on text. The client supplies text and the service responds with semantic annotation relative to the specific ontology. The plugin contains 4 different applications:


Installation

  1. Download the jar file
  2. Put it in the plugins directory of your neon toolkit

The plugin is supplied with default settings for services deployed on safekeeper1.dcs.shef.ac.uk, but if you need to modify the list of services you can do so using the GATE Web Services page in your NeOn toolkit preferences. This preference page also allows you to configure other settings you may require to connect to the services, but the default settings should work in most cases.

GATE Web Services preference page


How to use the plugin

Each of the GATE web services has the same structure - the service takes input text from one or more documents in a directory and produces as output a single OWL file containing the information extracted from the set of documents.

GATE Services menu To call a service, select the "Call Multi-document Web Service" option from the GATE Services menu in the NeOn Toolkit. This will present a wizard where you can select the service to call and provide the parameters it requires.

Step 1: Select the service you want to use.

First wizard page - select service to call

Step 2: Input and output settings.

Second wizard page - input and output

You must select a directory in which the input files are to be found, along with one or more patterns (separated by commas) specifying which files in that directory are to be processed. By default, all files in the directory and all its subdirectories will be processed - the tooltip on the file patterns box gives more details. You must also specify where to save the output ontology.

Step 3: (if supported by the service) Select an initial ontology

Third wizard page - initial ontology

Some services can enrich an existing ontology, rather than creating a blank one. If the selected service supports this option, you may choose to select an initial seed ontology on this page. This is optional - even if a service can take a seed ontology you do not have to provide one.

Clicking the Finish button will start the process. If you are processing a large number of documents the process may take some time - if you wish you can put the process in the background and continue working with the toolkit, and you will be notified when the process completes. When the process is complete the output ontology will have been written to the file you selected, and can be loaded into the toolkit in the usual way.


Component Diagram


Downloads

Web services plugin jar

 

Example texts

Below we give some zip archives containing texts suitable for use with the various services. These should be unzipped before use.

SARDINE

SPRAT

ANNIE