<p>I believe the information you are looking for can be found in this link, about NLP (Natural Language Processing) and using it in a CNN (Convolutional Neural Networks) </p>

<p><a href="http://www.wildml.com/2015/11/understanding-convolutional-neural-networks-for-nlp/" rel="nofollow noreferrer">http://www.wildml.com/2015/11/understanding-convolutional-neural-networks-for-nlp/</a></p>

<p>Its also worth noting that CNN's are made specifically for 'vision' or image parsing. And in most cases a DNN(Deep Neural Network) is needed for such a complex requirement. </p>

<p>DNN/NLP reading can be found here: <a href="https://arxiv.org/pdf/1703.03091.pdf" rel="nofollow noreferrer">https://arxiv.org/pdf/1703.03091.pdf</a></p>

<p><strong>TL;DR</strong></p>

<p>There is no specific algorithm, but rather a subset of multiple algorithms that can be used to infer the information above. Look into Microsoft's white papers on language research. </p>
How can a program learn to map pronouns correctly?
<p>How can a program learn to map pronouns <em>correctly</em> to something else in the text? </p>

<p>For example, in text "Lisa beats Jenny. She is cruel.", I would like "She" to map to "Lisa".</p>

<p>Is there a known name for such algorithm? If yes, what is it?</p>