magistrate: The arc of the Earth in dark space. (Default)
Because definitely what I need is more webapp ideas that I don't have time to develop.

Anyway, following on from a Twitter conversation, I'm wondering how it would work to make a writing program which could track the genders of a number of characters and then arbitrarily shuffle them. What I'm picturing is, simplified, something like this:

• At the top of the document are a number of fields which ask for a character name (or a list of character references, such as name and nickname and other variations) and pairs the name with a gender (and its associated set of pronouns).

• Each character you add is arbitrarily assigned a color (or icon or other distinguishing visual marker).

• As you type, a parser will keep track of which name (or referent) has been typed last for each of the original genders. When you type a pronoun, it will look at the last character reference matching that pronoun's set, and highlight the pronoun (or assign it the correct icon) to associate it with the specific character. It'll also have some kind of (mouseover?) menu to allow users to correct its assumption about which character it refers to.

• When you finish writing, each pronoun will be associated with a character. So you can hit a shuffle button, and then the characters' genders will be shuffled, and each pronoun can be brought back into compliance with the character's gender.

Needless to say, this would fail in a lot of situations. Take, for example:

• Dialogue. "He's not coming today," he said. (I mean, I guess I could set up a sub-parser which kept track of the last character reference inside a set of quotes?)

• Ambiguiety. We'll just call this the Randall Munroe exploit. I guess people would just have to make close, personal friends with the drop-down menus?

• Gay porn. I am reliably informed by people who have tried to write gay porn that pronouns are a nightmare anyway. And humans are better at parsing language than computers are.

• Unexpected cases. Language is complicated, yo!

I feel like there should be a way to handle this, and that it probably involves algorithms. I'm a bit worried that trying to write a general-purpose pronoun shuffler would actually require re-inventing Google Translate. Any computational linguists out there who want to point out things I'm missing?
magistrate: The arc of the Earth in dark space. (Default)
I'm not going to get to this right now, and probably won't get to this today, so this is just a note so I remember:

It would be pretty neat to have a calender generator on my fun pages. I.E., it takes a random list (like the Bingo generator), but instead of telling it the dimensions of a bingo card, you tell it a month and year, and it'll generate a calendar of prompts for you.

Advanced options would include turning off certain days (so, setting Sundays to have no prompts, for example), or turning certain days to certain prompts (so, setting Fridays to "wild card" days, or something). Probably not granular "I want the 15th to be this topic, and the 18th to be this topic, and take off the 12th", because at that point you're... not doing random generation any more.

It'd also be really nice to tie the random sets generator into it, like I did with the bingo generator: you can load response sets into it, and get cards like this one. So, you could set up something to generate random sets of a person, in a place, with a problem, and assign each of those to a day. Etc.



magistrate: The arc of the Earth in dark space. (Default)

January 2017

29 3031    


RSS Atom

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 30th, 2017 03:29 am
Powered by Dreamwidth Studios