public class DictionaryToMap extends Object
Constructor and Description |
---|
DictionaryToMap(String destDirectory,
String propFile)
Initalize with the given map destination directory, using the properties file(usually file_properties.xml)
|
Modifier and Type | Method and Description |
---|---|
void |
convert()
Converts the current Dictionary to a MapBackedDictionary.
|
static void |
main(String[] args) |
public DictionaryToMap(String destDirectory, String propFile) throws JWNLException, IOException
destDirectory
- - destination directory for in-memory map filespropFile
- - properties file of file-based WordNetJWNLException
IOException
public void convert() throws JWNLException, IOException
JWNLException
IOException
public static void main(String[] args)
Copyright © 2023. All rights reserved.