Python Forum
seaching for a library: nondeterministic letter manipulation in sentences
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
seaching for a library: nondeterministic letter manipulation in sentences
#1
I'm looking for a non-deterministic python library for:
Given a sentence string, manipulate it such that its meaning is not changed but the letters are. (My use case is English sentences). I'm not looking for a paraphrasing library.

Eg:
- meaningful typos (not randomly changing Levenshtein distance)
--> maybe common typos on a qwerty keyboard
- different letter case
--> maybe capital first letter


Say the sentence consists of 100 letters. I want it to change from 2 to 5 letters.

I've googled but couldn't find anything. Maybe someone here knows one.
Reply
#2
searching https://pypi.org for paraphrasing returns https://pypi.org/search/?q=paraphrasing
with a list of 88 packages matching.
Reply
#3
I'm not looking for a paraphrasing library.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  regex pattern to extract relevant sentences Bubly 2 1,863 Jul-06-2021, 04:17 PM
Last Post: Bubly
  Extract specific sentences from text file Bubly 3 3,404 May-31-2021, 06:55 PM
Last Post: Larz60+
  Bulk Generating Cloze Deletions based on Tatoeba sentences and word frequency lists wizzie 10 5,134 Dec-23-2019, 12:16 PM
Last Post: wizzie
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,792 May-06-2017, 11:29 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020