org.gcube.indexmanagement.common.linguistics.lemmatizerplugin
Class LemmatizerFactory
java.lang.Object
org.gcube.indexmanagement.common.linguistics.lemmatizerplugin.LemmatizerFactory
public class LemmatizerFactory
- extends Object
This class loads the real implementation of the lemmatizer.
|
Method Summary |
static LemmatizerPlugin |
loadPlugin(String pluginName)
This method loads the plugin for the language identifier and
calls the init method with the configFile as a parameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loadPlugin
public static LemmatizerPlugin loadPlugin(String pluginName)
throws IndexException
- This method loads the plugin for the language identifier and
calls the init method with the configFile as a parameter.
- Parameters:
pluginName - The name of the plugin to be loaded.
The plugin must implement the
interface LanguageIdPlugin.
- Returns:
- The plugin loaded
- Throws:
IndexException - The IndexException is thrown in case the class
can not be loaded or initialized.
Copyright © 2012. All Rights Reserved.