shonfeder / borgmanities

A short-lived twitter bot in Haskell (and a bit of Python)
MIT License
4 stars 0 forks source link

Build tweet from TitleParts data. #8

Closed ghost closed 9 years ago

ghost commented 9 years ago

In PapterTitleGen.Gen.hs: Select, manicure, and assemble data from fields of TitleParts input. The main function for this should be generateTitle (rename if desired).

I'm putting you as principle on this, @KitLiterate, but not to be burdensome! Mainly just to explore the utility of the issue tracker as a project-planning tool.

Change or add what you will.

ghost commented 9 years ago

I'm thinking we might want to truncate definitions usually pretty radically. Consider this result I just got:

TitleParts {
    seedNoun = "dialectic", 
    typeVariant = "philosophy", 
    randPrep = "except", 
    definition = "a contradiction of ideas that serves as the determining factor in their interaction", 
    complement = "akere the business"
    }

Do we want the the part after and including "that"? Or do we just want "a contradiction of ideas"? We should probably try comparing a number examples with different approaches to truncating the definitions.

ghost commented 9 years ago

I'm pretty sure we're losing some good material by indiscriminately truncation the definition at terms like "having". This can't be addressed until I've implemented some proper parsing though. So for now, I think this is settled.