at.ofai.gate.jape
Class TestJape2

java.lang.Object
  extended by at.ofai.gate.jape.TestJape2

public class TestJape2
extends java.lang.Object

Second test harness for JAPE. Uses the Sheffield Tokeniser and Gazetteer, and must be run from the gate directory.

Author:
Hamish Cunningham

Constructor Summary
TestJape2()
           
 
Method Summary
static void main(java.lang.String[] args)
          Take a list of text files and a collection name, and call tokeniser/gazetteer/jape on them, creating the collection.
static void message(java.lang.String mess)
          Hello? Anybody there??
static gate.Corpus tokAndGaz(java.lang.String collName, java.util.ArrayList fileNames)
          Create a collection and put tokenised and gazetteered docs in it.
static void usage(java.lang.String errorMessage)
          You got something wrong, dumbo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestJape2

public TestJape2()
Method Detail

main

public static void main(java.lang.String[] args)
Take a list of text files and a collection name, and call tokeniser/gazetteer/jape on them, creating the collection.


tokAndGaz

public static gate.Corpus tokAndGaz(java.lang.String collName,
                                    java.util.ArrayList fileNames)
                             throws gate.creole.ResourceInstantiationException
Create a collection and put tokenised and gazetteered docs in it.

Throws:
gate.creole.ResourceInstantiationException

usage

public static void usage(java.lang.String errorMessage)
You got something wrong, dumbo.


message

public static void message(java.lang.String mess)
Hello? Anybody there??