Modeling evolving relationships between characters in literary novels
discriminative training methods for hidden markov models : theory and experiments with perceptron algorithms .