edu.columbia.cs.ref.tool.io
Class CandidatesSentenceWriter

java.lang.Object
  extended by edu.columbia.cs.ref.tool.io.CandidatesSentenceWriter

public class CandidatesSentenceWriter
extends java.lang.Object


Constructor Summary
CandidatesSentenceWriter()
           
 
Method Summary
static void writeCandidateSentences(java.util.Set<CandidateSentence> candidates, java.lang.String output)
          Method to write a set of candidate sentences to a file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CandidatesSentenceWriter

public CandidatesSentenceWriter()
Method Detail

writeCandidateSentences

public static void writeCandidateSentences(java.util.Set<CandidateSentence> candidates,
                                           java.lang.String output)
                                    throws java.io.IOException
Method to write a set of candidate sentences to a file. The path to the file is given as input

Parameters:
candidates - the set of candidate sentences to be written
output - the path to the file where the candidate sentences will be written
Throws:
java.io.IOException