An Algorithm for Resolving Individual and Abstract Anaphora in Danish Texts and Dialogues