Identifying pronoun shifts in sentences