2019 icon indicating copy to clipboard operation
2019 copied to clipboard

Spreadr/Shreddr

Open ZippeyKeys12 opened this issue 5 years ago • 7 comments

Not far enough to really show much, but the idea is that you give a length, characters or words, and it takes a text and resizes it.

Currently, done and planned:

  • [x] Load synonyms
  • [x] Replace words with contractions
  • [x] Figure out optimal synonyms to increase/decrease to exact character count
  • [x] LSA summarizing
  • [x] Remove/add words/terms like, "very," "a lot," and "so much" that don't change meaning
  • [x] Change spelling to change length, color ↔ colour
  • [ ] Handle quotes
  • [ ] Use GPT-2 to expand existing text

Shrinking it is what I've currently been working on and isn't too bad, I'm more worried about expanding a small initial text, especially to increase word count. Undoing some of the above would help, might also try adding metaphors in place of some adjectives.

ZippeyKeys12 avatar Nov 06 '19 04:11 ZippeyKeys12

You could add some filler words to dialogue. "Um," "uh", "like," etc

greg-kennedy avatar Nov 07 '19 03:11 greg-kennedy

If you need to add typos and filler words, I have some code you can use:

https://github.com/enkiv2/misc/blob/master/disarticulate.py https://github.com/enkiv2/misc/blob/master/verbal_inarticulations.json https://github.com/enkiv2/misc/blob/master/typoize.py

On Wed, Nov 6, 2019 at 10:08 PM Greg Kennedy [email protected] wrote:

You could add some filler words to dialogue. "Um," "uh", "like," etc

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NaNoGenMo/2019/issues/66?email_source=notifications&email_token=AADXUGNEHY7QS4KS6SF3RT3QSOBB5A5CNFSM4JJPOQ7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIZ7IQ#issuecomment-550608802, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADXUGIXTJNTOD3T4KTJKC3QSOBB5ANCNFSM4JJPOQ7A .

enkiv2 avatar Nov 07 '19 12:11 enkiv2

Thanks, I'll take a look, the filler words are definitely going to be useful.

ZippeyKeys12 avatar Nov 07 '19 18:11 ZippeyKeys12

Work so far: https://github.com/ZippeyKeys12/NaNoGenMo19/blob/master/spreadr_shreddr.txt It's pretty close at 50022, have to figure out where the counting errors are and formatting oddities

ZippeyKeys12 avatar Nov 08 '19 21:11 ZippeyKeys12

Would that be the "final" output for November, then?

greg-kennedy avatar Jan 18 '20 23:01 greg-kennedy

Have a belated "completed" label!

hugovk avatar Jan 19 '20 09:01 hugovk

Would that be the "final" output for November, then?

Yeah it would

ZippeyKeys12 avatar Jan 20 '20 00:01 ZippeyKeys12