Interface PhoneticResolver

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Resolves Phonetic categories for terms at runtime.

This allows callers to supply language-specific phonetic logic without Lokalized needing a built-in phonetic dictionary.

Since:
1.2.0
Author:
Mark Allen
  • Method Details

    • resolve

      Determines the phonetic category for a term.
      Parameters:
      term - the term to classify, not null
      locale - the locale in which to resolve the term, not null
      Returns:
      the phonetic category for the term, not null