Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaubertbot #80

Open
fbrzvnrnd2 opened this issue Nov 29, 2021 · 1 comment
Open

Flaubertbot #80

fbrzvnrnd2 opened this issue Nov 29, 2021 · 1 comment

Comments

@fbrzvnrnd2
Copy link

fbrzvnrnd2 commented Nov 29, 2021

I wrote this simple Flaubertbot in python.
I used some phrases taken from Flaubert's Madame Bovary, in italian translation:
i) things Emma Bovary thinks about her man (an hyper-Leon)
ii) things Emma Bovary does to her man
iii) things Emma Bovary says to her man

And vice versa:

i) things Leon thinks about Emma
ii) things Leon does to Emma
iii) things Leon says to Emma

The different sentences are divided by mood: hate, love, indifference. I used the perlin noise 1d to move the mood from hate, love and indifference. When Leon and Emma pass from one feeling to another, a chapter ends and a new chapter begins.

Some chapters are forced to be only dialogues, some chapters only actions, some chapters only reflections. Other chapters are mixed.

You can find here the code and an example of output: https://github.com/fbrzvnrnd2/nanogenmo2021

I wrote the code while the idea was growing, so it is a very bad code. A lot of duplication.

@fbrzvnrnd2 fbrzvnrnd2 reopened this Nov 29, 2021
@fbrzvnrnd2 fbrzvnrnd2 changed the title Flauberbot Flaubertbot Nov 29, 2021
@hugovk
Copy link
Member

hugovk commented Nov 29, 2021

Good job! No-one's judging code quality here and we certainly don't mind a bit of code duplication :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants