1import spacy
2nlp = spacy.load("LipingWang/spaCy-NER-MLA-Citations")
3
4doc = nlp("Devedzic, Vladan. 'Education and the semantic web.' International Journal of Artificial Intelligence in Education 14.2 (2004): 165–191.")
5for ent in doc.ents:
6 print(ent.text, ent.label_)