anl.fusion.example
Class GateExample

java.lang.Object
  extended by anl.fusion.example.GateExample

public class GateExample
extends java.lang.Object

Date: Jan 8, 2009 3:19:25 PM


Constructor Summary
GateExample()
           
 
Method Summary
private  gate.creole.SerialAnalyserController createPipeline(java.lang.String[] pResources)
           
static void main(java.lang.String[] args)
           
private  void printResults(gate.Document doc, java.lang.String annotationType)
           
 void tagGazetteerTypes()
           
 void tagPOS()
           
 void tagSentence()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GateExample

public GateExample()
Method Detail

createPipeline

private gate.creole.SerialAnalyserController createPipeline(java.lang.String[] pResources)
                                                     throws gate.creole.ResourceInstantiationException,
                                                            java.net.MalformedURLException
Throws:
gate.creole.ResourceInstantiationException
java.net.MalformedURLException

printResults

private void printResults(gate.Document doc,
                          java.lang.String annotationType)

tagGazetteerTypes

public void tagGazetteerTypes()
                       throws java.net.MalformedURLException,
                              gate.creole.ResourceInstantiationException,
                              gate.creole.ExecutionException
Throws:
java.net.MalformedURLException
gate.creole.ResourceInstantiationException
gate.creole.ExecutionException

tagSentence

public void tagSentence()
                 throws gate.creole.ResourceInstantiationException,
                        java.net.MalformedURLException,
                        gate.creole.ExecutionException
Throws:
gate.creole.ResourceInstantiationException
java.net.MalformedURLException
gate.creole.ExecutionException

tagPOS

public void tagPOS()
            throws gate.creole.ResourceInstantiationException,
                   java.net.MalformedURLException,
                   gate.creole.ExecutionException
Throws:
gate.creole.ResourceInstantiationException
java.net.MalformedURLException
gate.creole.ExecutionException

main

public static void main(java.lang.String[] args)