|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.util.Scratch
public class Scratch
A scratch pad for experimenting.
Nested Class Summary | |
---|---|
static class |
Scratch.ContentPropertyReader
|
Field Summary | |
---|---|
protected static Random |
randomiser
Random number generator |
Constructor Summary | |
---|---|
Scratch()
|
Method Summary | |
---|---|
static void |
createIndex()
Generates an index for a corpus in a datastore on Valy's computer in order to have some test data. |
static void |
docFromString()
|
static void |
dumpGuiState()
***** Failed ***** attempt to serialise whole gui state - various swing components don't like to be serialised :-(. might be worth trying again when jdk1.4 arrives. |
static void |
exitTimeHook()
Example of using an exit-time hook. |
static void |
main(String[] args)
|
protected static int |
random()
Generate a random integer for file naming. |
void |
runNerc()
Run NERC and print out the various stages (doesn't actually use Nerc but the individual bits), and serialise then deserialise the NERC system. |
static void |
tokeniseFile(File file)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Random randomiser
Constructor Detail |
---|
public Scratch()
Method Detail |
---|
public static void docFromString()
public static void main(String[] args) throws Exception
Exception
public static void exitTimeHook()
public static void dumpGuiState()
public void runNerc() throws Exception
Exception
protected static int random()
public static void createIndex() throws Exception
Exception
public static void tokeniseFile(File file) throws Exception
file
- a TXT file containing the text
Exception
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |