flutter_phonetics library
Author: Zakaria Hossain Description: Main entry point exporting the public API of flutter_phonetics.
Classes
- BanglaPhonetics
- Sound-alike spelling search for Bangla.
- CrossLanguageEngine
- CrossLanguagePhonetics
- CrossLanguageResult
- EnglishPhonetics
- Sound-alike spelling search for English.
- PhoneticAlternative
- A spelling that can replace another, with how alike they sound.
- PhoneticCancelToken
- Lets the caller stop a running request.
- PhoneticChange
- One letter or group of letters that was swapped to reach a variant.
- PhoneticEngine
- The synchronous engine behind Phonetics.
- PhoneticLanguage
- Describes a language: its rules and how its text is cleaned up before use.
- PhoneticMatch
- A spelling variant with its match percentage.
- PhoneticRule
- A group of spellings that sound alike.
- PhoneticRuleSet
- The rules of one language, compiled for fast lookup.
- Phonetics
- Finds sound-alike spellings of a word and scores how close two spellings are.
- PhoneticSearchOptions
Enums
- PhoneticExecutionMode
- What to do when a request arrives while another one is running.
- RulePosition
- Where in a word a rule may be used.
Extensions
- PhoneticLanguageRules on PhoneticLanguage
- Gives a language its default rule set.
Properties
- banglaLanguage → PhoneticLanguage
-
The Bangla language definition.
final
-
banglaRules
→ List<
PhoneticRule> -
The default Bangla sound-alike rules.
final
- englishLanguage → PhoneticLanguage
-
The English language definition.
final
-
englishRules
→ List<
PhoneticRule> -
The default English sound-alike rules.
final
Typedefs
- PhoneticMatchCheckResult = ({PhoneticException? error, bool isMatch})
- Whether two spellings match, plus an error if the request failed.
-
PhoneticMatchesResult
= ({PhoneticException? error, List<
PhoneticMatch> matches}) - Matches with their scores, plus an error if the request failed.
- PhoneticSimilarityResult = ({PhoneticException? error, double score})
- A similarity score from 0 to 100, plus an error if the request failed.
-
PhoneticWordsResult
= ({PhoneticException? error, List<
String> words}) - Spellings only, plus an error if the request failed.
Exceptions / Errors
- PhoneticArgumentException
- An argument, rule or language definition was not valid.
- PhoneticCancelledException
- The request was cancelled before it finished.
- PhoneticDisposedException
- The instance was disposed and cannot run requests.
- PhoneticException
- Base type of every problem the package reports.
- PhoneticWorkerException
- The background worker failed or is not available.