Package ca.phon.ipadictionary.spi
Interface IPADictionarySPI
- All Known Implementing Classes:
CompoundDictionary
,DatabaseDictionary
,ImmutablePlainTextDictionary
,TransliterationDictionary
public interface IPADictionarySPI
Required interface for IPADictionary implementations.
IPADictionaries are expected to accept orthographic strings
and return one or more associated IPA transcriptions.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
install
(IPADictionary dict) Install this SPI into the given IPADictionaryString[]
Lookup IPA transcriptions for a given orthographic string.
-
Method Details
-
lookup
Lookup IPA transcriptions for a given orthographic string.- Parameters:
orthography
-- Returns:
- a list of IPA transcriptions associated with the given orthography
- Throws:
IPADictionary
- exception if an error occured while attempting to lookup the given entryIPADictionaryExecption
-
install
Install this SPI into the given IPADictionary
-