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

Just getforms improvements #862

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hippietrail
Copy link
Contributor

Issues

N/A

Description

Previously just getforms (and harper-cli forms) would only expand the affix annotations provided on the commandline. Now it will first check if the word on the commandline is already in the dictionary, if it is annotated there, and if those annotations differ from those provided on the commandline. It will then print the old expansions, new expansions, or both.

See ficcdaf's comments in #847

Demo

Screenshot 2025-03-09 at 4 28 45 pm Screenshot 2025-03-09 at 4 29 08 pm

How Has This Been Tested?

I manually tried to test every combination of words and annotations already in the dictionary and not, etc.

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes

I'm open to suggestions on adding unit tests.

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.

1 participant