public class NIHLexiconXMLDumpUtil extends Object
This class reads in a CSV word list, looks up the words in the NIH lexicon, and writes the XML words into an output file. This XML file can then be used as the XML Lexicon source for SimpleNLG.
| Constructor and Description |
|---|
NIHLexiconXMLDumpUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
This main method reads a list of CSV words and POS tags and looks up against
the NIHDB Lexicon for a corresponding entry.
|
public static void main(String[] args)
args - : List of Arguments that this command line application must be provided with in order:
Example usage: java simplenlg.lexicon.util.NIHLexiconXMLDumpUtil C:\\NIHDB\\lexAccess2009 C:\\NIHDB\\wordlist.csv C:\\NIHDB\\default-lexicon.xml
You will need to have the HSQLDB driver (org.hsqldb.jdbc.JDBCDriver) on your Java classpath before running this application.
Copyright © 2020. All Rights Reserved.