public interface SynonymProvider
SynonymProviderdefines an interface for a component that returns synonyms for a given term.
|Modifier and Type||Method and Description|
Returns an array of terms that are considered synonyms for the given
Initializes the synonym provider and passes the file system resource to the synonym provider configuration defined by the configuration value of the
void initialize(FileSystemResource fsr) throws IOException
synonymProviderConfigPathparameter. The resource may be
nullif the configuration parameter is not set.
fsr- the file system resource to the synonym provider configuration.
IOException- if an error occurs while initializing the synonym provider.
Copyright © 2004-2017 The Apache Software Foundation. All Rights Reserved.