cc.mallet.extract
Class DocumentViewer

java.lang.Object
  extended by cc.mallet.extract.DocumentViewer

public class DocumentViewer
extends java.lang.Object

Diagnosis class that outputs HTML pages that allows you to view errors on a more global per-instance basis. Created: Mar 30, 2005

Version:
$Id: DocumentViewer.java,v 1.1 2007/10/22 21:37:44 mccallum Exp $
Author:
Constructor Summary
DocumentViewer()
           
 
Method Summary
static void writeExtraction(java.io.File directory, Extraction extraction)
          Writes several HTML files describing a given extraction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentViewer

public DocumentViewer()
Method Detail

writeExtraction

public static void writeExtraction(java.io.File directory,
                                   Extraction extraction)
                            throws java.io.IOException
Writes several HTML files describing a given extraction. Each HTML file shows an entire document, with the extracted fields color-coded.

Parameters:
directory - Directory to write files to
extraction - Extraction to describe
Throws:
java.io.IOException