flutter_phonetics 0.2.0
flutter_phonetics: ^0.2.0 copied to clipboard
Finds sound-alike spellings of Bangla and English words with a match percentage. Runs on a background thread on every Flutter platform.
0.2.0 #
- Added cross-language phonetic generation.
CrossLanguagePhonetics(async) andCrossLanguageEngine(sync) take a Bangla or an English name and return two independent lists, Bangla spellings and English spellings, each built from how the name sounds. The list in the input's own script is what the existing engine returns. - Added
PhoneticSearchOptionsandCrossLanguageResult. - The generator can now start from pre-built slots. Existing
generate,similarity,matchesandrankresults are unchanged.
0.1.3 #
- Added the live web demo link to the readme.
0.1.2 #
- Named the author, zakaria5729, in the readme.
0.1.1 #
- Added API documentation for the public classes, methods and fields.
0.1.0 #
- Initial release.
Phoneticswithgenerate,generateWords,similarity,matchesandrank, running on an isolate or a web worker. - Languages are plain
PhoneticLanguagedefinitions. Bangla and English are built in (BanglaPhonetics,EnglishPhonetics), and a new language is one new folder. - Rules can be limited to the start, the end or the inside of a word
(
RulePosition). - Nothing throws: calls return records with a
PhoneticException? error, and constructors keep problems in anerrorproperty. - Cancellation with
PhoneticCancelToken,cancelAll()anddispose(). PhoneticExecutionMode:cancelPrevious(default) orqueue, changeable withsetExecutionMode.- Bangla rules: optional final
ো,ঞ্জ/ঞ্চagainstনজ/নচ, and independent vowel letters against vowel signs.PhoneticRule(..., scoreOnly: true)rules count when comparing words but never when generating spellings.