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 Type
    Method
    Description
    void
    Install this SPI into the given IPADictionary
    lookup(String orthography)
    Lookup IPA transcriptions for a given orthographic string.
  • Method Details

    • lookup

      String[] lookup(String orthography) throws IPADictionaryExecption
      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 entry
      IPADictionaryExecption
    • install

      void install(IPADictionary dict)
      Install this SPI into the given IPADictionary