2019
2019 copied to clipboard
Spreadr/Shreddr
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.
You could add some filler words to dialogue. "Um," "uh", "like," etc
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 .
Thanks, I'll take a look, the filler words are definitely going to be useful.
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
Would that be the "final" output for November, then?
Have a belated "completed" label!
Would that be the "final" output for November, then?
Yeah it would