Skip to content

make processor functions return an array of variants#2312

Merged
StefanVukovic99 merged 5 commits intoyomidevs:masterfrom
StefanVukovic99:dynamic-processor-variants
Feb 24, 2026
Merged

make processor functions return an array of variants#2312
StefanVukovic99 merged 5 commits intoyomidevs:masterfrom
StefanVukovic99:dynamic-processor-variants

Conversation

@StefanVukovic99
Copy link
Member

Instead of having a processor return a fixed number of variants defined by its options, this generalizes processors to return an arbitrary array of variants. This enables more flexible use, e.g. adding diacritics to a word where they are missing from some characters but not others, implemented here for Serbo-Croatian.

Screenshot from 2026-02-19 19-14-38

@StefanVukovic99 StefanVukovic99 requested a review from a team as a code owner February 19, 2026 18:27
@StefanVukovic99 StefanVukovic99 added kind/enhancement The issue or PR is a new feature or request area/linguistics The issue or PR is related to linguistics labels Feb 19, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b99fcdd3e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Kuuuube
Kuuuube previously approved these changes Feb 24, 2026
Copy link
Member

@Kuuuube Kuuuube left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust that this wont make anything explode.

@Kuuuube
Copy link
Member

Kuuuube commented Feb 24, 2026

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 650e34ada2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@StefanVukovic99
Copy link
Member Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Copy link
Member

@Casheeew Casheeew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe needs a bench in the future but for now i trust :gladge:

@StefanVukovic99 StefanVukovic99 added this pull request to the merge queue Feb 24, 2026
Merged via the queue into yomidevs:master with commit 4b39925 Feb 24, 2026
19 of 30 checks passed
@StefanVukovic99 StefanVukovic99 deleted the dynamic-processor-variants branch February 24, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/linguistics The issue or PR is related to linguistics kind/enhancement The issue or PR is a new feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants