edu.stanford.nlp.ie.crf
Class NERGUI

java.lang.Object
  extended by edu.stanford.nlp.ie.crf.NERGUI

public class NERGUI
extends Object

A GUI for Named Entity sequence classifiers. This version only supports the CRF.

Author:
Jenny Finkel, Christopher Manning

Constructor Summary
NERGUI()
           
 
Method Summary
 boolean checkFile(File file)
           
 void clearDocument()
           
 void copyDocument()
           
 void cutDocument()
           
 void displayError(String title, String message)
           
 void exit()
           
 File getFile(boolean open)
           
static Color[] getNColors(int n)
           
 String getURL()
           
 void loadClassifier(File file)
          Load a classifier from a file or the default.
static void main(String[] args)
          Run the GUI.
 void openFile(File file)
           
 void openURL(String url)
           
 void pasteDocument()
           
 void saveFile(File file, String contents)
           
 void saveUntaggedContents(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NERGUI

public NERGUI()
Method Detail

getFile

public File getFile(boolean open)

saveUntaggedContents

public void saveUntaggedContents(File file)

saveFile

public void saveFile(File file,
                     String contents)

getURL

public String getURL()

checkFile

public boolean checkFile(File file)

displayError

public void displayError(String title,
                         String message)

loadClassifier

public void loadClassifier(File file)
Load a classifier from a file or the default. The default is specified by passing in null.


openFile

public void openFile(File file)

openURL

public void openURL(String url)

clearDocument

public void clearDocument()

cutDocument

public void cutDocument()

copyDocument

public void copyDocument()

pasteDocument

public void pasteDocument()

exit

public void exit()

getNColors

public static Color[] getNColors(int n)

main

public static void main(String[] args)
Run the GUI. This program accepts no command-line arguments. Everything is entered into the GUI.



Stanford NLP Group