Annotate author names using REGEXNER from the stanfordnlp library
问题 My goal is to annotate author names from scientific articles with the entity PERSON. I am particularly interested with the names that match this format (authorname et al. date). For example I would like for this sentence (Minot et al. 2000 ) => to annotate Minot as a PERSON. I am using an adapted version of the code found in the official page of stanford nlp team: import stanfordnlp from stanfordnlp.server import CoreNLPClient # example text print('---') print('input text') print('') text =