Skip to content

Implement Bengali word suggestion for Fixed methods#11

Merged
mominul merged 1 commit into
mainfrom
bangla-suggest
Oct 4, 2025
Merged

Implement Bengali word suggestion for Fixed methods#11
mominul merged 1 commit into
mainfrom
bangla-suggest

Conversation

@mominul

@mominul mominul commented Oct 3, 2025

Copy link
Copy Markdown
Member

Currently, OBK (precisely the riti library) uses regex to generate suggestions for Fixed methods (Borno, National layouts). This PR uses FST trees to generate those suggestions more efficiently.

Input upodesh (µs) regex (ms) Speedup Factor
আমা 1.33 µs 9.72 ms ~7300× faster
কম্পি 14.6 µs 9.90 ms ~680× faster
কনট্রো 0.913 µs 9.89 ms ~10,800× faster

Refactored Avro Phonetic support into the avro module
@mominul

mominul commented Oct 3, 2025

Copy link
Copy Markdown
Member Author

cc @mugli

@gulshan Can we remove the manual loop and the extend call (by using iter adapters)?

@mominul mominul merged commit 85b774b into main Oct 4, 2025
14 checks passed
@mominul mominul mentioned this pull request Jan 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant