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

Refactor Source to store the specific matched pattern #76

Merged
merged 3 commits into from
Oct 27, 2023

Conversation

tgross35
Copy link
Contributor

Save the index of the relevant AfxRulePattern with the Arc<Affix> in Source::Affix. This allows us to retrieve morph rules from that specific pattern, rather than returning all rules in the Affix.

Fixes #73

Save the index of the relevant `AfxRulePattern` with the `Arc<Affix>` in
`Source::Affix`. This allows us to retrieve morph rules from that specific
pattern, rather than returning all rules in the `Affix`.

Fixes #73
@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b340f33) 74.73% compared to head (47fe1d5) 74.88%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
+ Coverage   74.73%   74.88%   +0.14%     
==========================================
  Files          24       24              
  Lines        3218     3237      +19     
==========================================
+ Hits         2405     2424      +19     
  Misses        813      813              
Files Coverage Δ
zspell/src/dict/helpers.rs 100.00% <100.00%> (ø)
zspell/src/dict/types.rs 71.73% <90.90%> (+1.28%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tgross35 tgross35 merged commit bd9e83e into main Oct 27, 2023
14 checks passed
@tgross35 tgross35 deleted the morph-specificity branch October 27, 2023 07:08
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.

Morph info isn't specific enough
1 participant