drusepth / Indent

Indent is a set of tools for writers, game designers, and roleplayers to create magnificent universes – and everything within them.
http://indentapp.com
1 stars 1 forks source link

Users should be able to specify domains in which to generate words in #353

Open drusepth opened 10 years ago

drusepth commented 10 years ago

Example domains:

Should apply to character names, location names, etc. Of course, there may be overlap between categories, but focusing around a user-specified one would be a lot better.

Cantido commented 10 years ago

What specifically is randomized? (sorry, I didn't see this part of the code). If you have some sort of pool, you might be able to associate words/fragments in the pool with tags, and pull those together for certain genres/domains.

drusepth commented 10 years ago

Most of the API content generators are pretty hard-coded right now in that, for example, generating a random character age just randomizes a number between 2 and 100, which could be manipulated based on the domain (in scifis, people typically live much longer, urban novels typically center around young adult ages, etc).

Most things are like that (like character names picking a random first and last name from general subsets, which could be changed into sci-fi ish, fantasy, etc categories). Locations, however, piece together individual syllables into english-sounding words that I think is a better method, but is much more varied in results (and would likely be harder to control the theme of the output).

Controller for generating the API content is at https://github.com/drusepth/Indent/blob/master/app/controllers/generator_controller.rb if you want to look around.

This is a pretty good demo of the kind of thing I'm looking for: http://www.seventhsanctum.com/index-char.php -- being able to generate not only character (or location, etc) names, but ones that would be "normal" within a given genre or category.

drusepth commented 10 years ago

Examples: