Package cc.mallet.extract
Class DocumentViewer
- java.lang.Object
-
- 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
Constructors Constructor Description DocumentViewer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
writeExtraction(java.io.File directory, Extraction extraction)
Writes several HTML files describing a given extraction.
-
-
-
-
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 toextraction
- Extraction to describe- Throws:
java.io.IOException
-
-