Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve term sorting #806

Merged
merged 4 commits into from
Apr 15, 2024
Merged

Conversation

StefanVukovic99
Copy link
Collaborator

maxTransformedTextLength i think should be originalText instead. transformedText is just biased toward long words in the dict instead of capturing as much of the scanned text.

The //Sort by the number of inflection reasons is now updated to make sense with the inflection chains, instead of looking for fewer possible inflection chains, it now looks for the simplest/shortest deinflection

@StefanVukovic99 StefanVukovic99 requested a review from a team as a code owner April 7, 2024 17:32
Copy link

github-actions bot commented Apr 7, 2024

⚠️ Visual differences introduced by this PR; please validate if they are desirable.

View Playwright Report (note: open the "playwright-report" artifact)

@StefanVukovic99 StefanVukovic99 added kind/enhancement The issue or PR is a new feature or request area/ui-ux The issue or PR is related to UI/UX/Design labels Apr 8, 2024
jamesmaa
jamesmaa previously approved these changes Apr 14, 2024
Copy link
Collaborator

@jamesmaa jamesmaa left a comment

Choose a reason for hiding this comment

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

Seems like a safe change. How will we know if this is an improvement?

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.

Works. Fixes #807.

@jamesmaa jamesmaa added this pull request to the merge queue Apr 15, 2024
Merged via the queue into yomidevs:master with commit afd6e17 Apr 15, 2024
10 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Apr 16, 2024
* added Old Irish (SGA)

* Merge Yomitan Updates (#1)

* fix (#811)

* Add scanOnTouchTap and improve touch scanning defaults (#791)

* Add scanOnTouchTap

* Update version to 30

* Cleanup if statement

* log anki error when hiding button (#821)

* Fix noteInfos not getting assigned (#819)

* improve term sorting (#806)

* improve term sorting

* edge case

* fix: add missing handlebar entry (#823)

* fix: add missing handlebar entry

* fix: add new handlebar to tests

* Revert to using canAddNotes (#827)

Fix #818

* Remove unused canAdd (#824)

Co-authored-by: James Maa <[email protected]>

* Fix duplicate check not working across note types (#830)

* Fix duplicate check not working across note types

* Add invalidNoteId

---------

Co-authored-by: James Maa <[email protected]>

---------

Co-authored-by: StefanVukovic99 <[email protected]>
Co-authored-by: Kuuuube <[email protected]>
Co-authored-by: m-edlund <[email protected]>
Co-authored-by: Eloy Robillard <[email protected]>
Co-authored-by: James Maa <[email protected]>
Co-authored-by: James Maa <[email protected]>

* Revert "Merge Yomitan Updates (#1)"

This reverts commit 748dc22.

* Fix Static Analysis Error

* Fix eslint erro

---------

Co-authored-by: martholomew <[email protected]>
Co-authored-by: StefanVukovic99 <[email protected]>
Co-authored-by: Kuuuube <[email protected]>
Co-authored-by: m-edlund <[email protected]>
Co-authored-by: Eloy Robillard <[email protected]>
Co-authored-by: James Maa <[email protected]>
Co-authored-by: James Maa <[email protected]>
@Casheeew Casheeew mentioned this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-ux The issue or PR is related to UI/UX/Design 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