I'm writing a function (for a game) which converts a sentence with [Spivak pronouns][1] into one with pronouns as specified by a user-selected template. For example, the following input sentence: "***E*** casts ***eir*** spell on ***emself***." Could be transformed into any of the following (among others), depending on the selected template: - "***She*** casts ***her*** spell on ***herself***." (feminine pronoun) - "***They*** cast ***their*** spell on ***themself***." ([singular they][2]) - "***<Name>*** casts ***<Name>'s*** spell on ***themself***." (Name, with "themself") Most declensions can occur at the start of a sentence, requiring me to consider the possibility of each with an initial uppercase: - "***She*** won." - "***His*** efforts were futile." - "***Hers*** was the only character able to use magic." I'm unsure about the following scenarios: - "***Him*** too.<sup>†</sup>" - "***Herself*** to blame, her team lost the match.<sup>‡</sup>" **So, my question is as follows**: 1. <sup>†</sup>Do I need to consider a capitalised "Em" (*i.e.* Can a grammatically-correct sentence ever begin with an object)? 2. <sup>‡</sup>Do I need to consider a capatilised "Emself" (*i.e.* Can a grammatically-correct sentence ever begin with a reflexive noun)? I'm only concerned with grammatically-correct sentences at this time. The user will not be providing the input sentences to this function, only the pronoun template by which to convert each sentence for display. Thank you for your time and assistance! >^,^< [1]: http://en.wikipedia.org/wiki/Spivak_pronoun [2]: http://en.wikipedia.org/wiki/Singular_they