LyubomirT / lesp

📚 LESP is a lightweight, efficient spelling proofreader written in Python. It's designed to be easy to use and lightweight, while still providing a decent result when checking for spelling errors. Resource consumption is kept to a minimum, and the program is designed to be as fast as possible.
https://lesp.gitbook.io/lesp
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

🗃 Allow Wordlist Stacking #12

Closed LyubomirT closed 1 year ago

LyubomirT commented 1 year ago

This feature will allow the user to "stack" two valid wordlists into one by putting all the words of one into another. Instead of overwriting the destination, the target will combine both the selected files. This will be useful for people who have a couple of separate files and want to create a bigger wordlist but don't want to put everything in a list.

Hint: This introduces two new functions: stack() and merge_delete(). The stack function is responsible for the stacking technique, while the merge delete will remove all words from the source file that match the destination file. It would also be good if a validation method is added, to make sure both source and destination files follow the appropriate format of each word being on a separate line and not containing anything else than alphabetic characters.

LyubomirT commented 1 year ago

Alright, gotta take on this issue. If anyone else wants to do so, please let me know.

Parakrant commented 1 year ago

Hi, I am, working on it

LyubomirT commented 1 year ago

Hi, I am, working on it

Hello! Thank you very much for your second contribution. There is no need to help anymore though, since I've already finished and now just wrapping up. Once again, thank you!

LyubomirT commented 1 year ago

Implemented! Closing the issue now.