generate sentence list files for a list of documents.
Takes 3 or 4 command line parameters:
filelist: a list of the files to be processed
dataDir: the path of the directory containing the document
outputDir: the path of the directory to contain the output
writeXML: if present, sentences are written in an XML format with
offsets only
For each file in filelist, the document is read from
dataDir/file; if the input file has no sentence tags, the
sentence splitter is invoked to add sentence tags; and then
the sentence file is written to outputDir/file.sent .
Only sentences within TEXT XML elements are written.