ericcornelissen/wordrow

Add functionality to allow replacing any word repetition with a single instance of that word

ericcornelissen opened this issue · 0 comments

Feature Request

  • wordrow version: v0.4.0-beta

Description

It is not uncommon for people to accidentally write write a word twice, and it is also not uncommon for people to not notice this when reading text (see the word "write" is written twice in this sentence 🙃). Hence, it would be nice if there is a possibility to fix this kind of problem with wordrow.

Example

Say I have any text document and I want to remove any word that has been repeated twice in a row. Say my input file is:

Neque porro porro quisquam est qui dolorem ipsum ipsum quia dolor sit amet, consectetur, adipisci velit

Then it should output:

Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit

Proposal

TBD, suggestions are welcome