Sentence:  Of the <WSD>prosopopoeia</WSD>, or personification, there are two kinds; one, when actions and character are attributed to irrational, or even inanimate objects; the other, when a probable but fictitious speech is assigned to a real character. 
Meaning of the word marked with <WSD> tags:  Personifying a person or object when (communicating) to an (audience).