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

added backtracking/backreference #10

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

Conversation

dekiesel
Copy link

@dekiesel dekiesel commented Oct 28, 2024

This PR should close #4 .

It definitely takes away from the beauty of the recursion, but it works

Please let me know if/how I can improve this PR and thank you for all your fantastic work!

What it does: A dict is used to note what has been changed in an input template. After a sentence has been created the substitutions of the input sentence are used to change the output sentence accordingly.

@synesthesiam
Copy link
Contributor

Thanks! I'll take a look this week.

@synesthesiam synesthesiam self-assigned this Oct 28, 2024
@synesthesiam synesthesiam added the enhancement New feature or request label Oct 28, 2024
@dekiesel
Copy link
Author

Is there anything I can do to help speed things up

@synesthesiam
Copy link
Contributor

I have this added in a separate code base along with some extra features. I'll probably pull in that code instead, but I want to give you credit for the idea and your work 🙂

@dekiesel
Copy link
Author

Thank you very much for your work! Giving me (part) of the credit is a nice thought but really not necessary. I am just happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: In/out replacement backreference
2 participants