project-robius / project-robius/robrix
Fuzzy matching for romanized versions of other languages (e.g., matching pinyin)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 487
- Forks
- 68
- Avg merge
- 1h 22m
- Merged PRs (30d)
- 54
Description
I just came across this crate that offers romanization as an easy rust library: https://github.com/fulm-o/uroman-rs
We could use this when:
- filtering rooms (to match room names in non-roman characters)
- searching for users (matching display name)
- searching messages
- however, this might get very expensive, as we'd have to romanize all messages in the event cache, so we should only do it when explicitly enabled via a user choice, like a checkbox that says "match other languages using romanization (slow)"
- searching for public rooms/spaces (once we support that in the future)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the room-filtering, user-search, and message-search entry points, then evaluate the uroman-rs crate for romanization. Define how romanized matching should work and where the explicit “match other languages using romanization (slow)” choice applies. Done should cover the agreed search surfaces without unconditionally romanizing all cached messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100