Code for training and testing a deep learning model for context-aware citation recommendation using the Microsoft Academic Graph