I have a function that parses a pdf and returns informations found, thanks to a customized NER model trained with Spacy.
def extractor(fname): doc = fitz.