Tools
Class XMLToSentenceConverter

java.lang.Object
  extended by Tools.XMLToSentenceConverter

public class XMLToSentenceConverter
extends java.lang.Object

Convert XML files to individual files with the sentences of the article/abstract

Author:
davidc

Constructor Summary
XMLToSentenceConverter()
           
 
Method Summary
static java.lang.String clearOutputDirectory(java.lang.String src)
           
static void convertAllFromSource(java.lang.String src, boolean trimReferences)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLToSentenceConverter

public XMLToSentenceConverter()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws PreprocessorException
Parameters:
args -
Throws:
PreprocessorException
org.jdom.JDOMException

convertAllFromSource

public static void convertAllFromSource(java.lang.String src,
                                        boolean trimReferences)
                                 throws PreprocessorException
Parameters:
src - usually src is "art"
trimReferences -
Throws:
PreprocessorException

clearOutputDirectory

public static java.lang.String clearOutputDirectory(java.lang.String src)