public interface Dictionary
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String text)
Determines whether the Dictionary contains the specified input text.
|
Collection<MetaDataHit> |
getEntries(String text)
Gets any meta data entries associated with the specified input text.
|
void |
retainMetaData(String metaFieldName)
Tells the Dictionary to retain specific bits of metadata for each
entry in the Dictionary.
|
void retainMetaData(String metaFieldName)
metaFieldName
- Name specific to Dictionary implementation.boolean contains(String text) throws DictionaryException
text
- The input text.DictionaryException
Collection<MetaDataHit> getEntries(String text) throws DictionaryException
text
- The input text.DictionaryException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.