edu.stanford.nlp.ie.crf
Class NERGUI
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NERGUI
public NERGUI()
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