Tools
Class XMLToSentenceConverter
java.lang.Object
Tools.XMLToSentenceConverter
public class XMLToSentenceConverter
- extends java.lang.Object
Convert XML files to individual files with the sentences of the article/abstract
- Author:
- davidc
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLToSentenceConverter
public XMLToSentenceConverter()
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)