NaNoGenMo / 2016

National Novel Generation Month, 2016 edition.
https://nanogenmo.github.io
162 stars 7 forks source link

72 Cases of the Blackhearts Detective Agency #111

Open Aarneus opened 7 years ago

Aarneus commented 7 years ago

Hi! I'm finally participating this year! This will be part of my proof-of-concept for the rule-based text generation system I'm working on for my Masters Thesis in Computer Science.

Finished! Sample (txt): https://github.com/Aarneus/blackhearts/blob/master/Samples/blackhearts_sample.txt Sample: (pdf): https://github.com/Aarneus/blackhearts/blob/master/Samples/blackhearts_sample.pdf Code: https://github.com/Aarneus/blackhearts

Sample output:

Chapter 1
The Blackhearts Detective Agency. There's no place like home. I feel a pang of hunger in my stomach. I'd fill my fridge if I could. Problem is, a detective's pay is not exactly luxurious. I need a job. And I need it fast. I'm throwing darts at the lord barrister's picture when the phone rings. It's Nellie. She is in a hurry. I furrow my brow. It doesn't seem good. She will owe me after this. I get ready to leave for the power plant.

Sample grammar syntax

# Random furniture for location L
furniture L
=> "the [=>floor]"
=> "a windowsill", plot.inside != null
=> "a desk", L.office != null
=> "a filing cabinet", L.office != null

Should write more about this when I get the chance.

Aarneus commented 7 years ago

Of course my first two updates are fixing the name twice :+1: