Class SynonymDisambiguationIndexGenerator
- java.lang.Object
-
- de.julielab.jules.ae.genemapping.resources.SynonymDisambiguationIndexGenerator
-
public class SynonymDisambiguationIndexGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SynonymDisambiguationIndexGenerator(java.io.File idFile, java.io.File indexFile, java.lang.String resourcesDir)constructor which creates index in the specified directory on the disk
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateIndex(java.lang.String idType)create the index, i.e.static voidmain(java.lang.String[] args)To execute the ContextIndexGenerator start it with the following command-line arguments:
arg0: path to resources directory arg1: path to context indices directory
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
To execute the ContextIndexGenerator start it with the following command-line arguments:
arg0: path to resources directory arg1: path to context indices directory- Parameters:
args-
-
createIndex
public void createIndex(java.lang.String idType) throws java.io.IOExceptioncreate the index, i.e. read from the biothesaurus file (which is expected to have normalized synonyms!) and then write it to the index.- Throws:
java.io.IOException
-
-