project-robius / project-robius/robrix

Fuzzy matching for romanized versions of other languages (e.g., matching pinyin)

Open
#564 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.