How to Dynamic the document name in taxonomy

Hi
If i use the pdf to extracting the data using intelligent ocr .the document name will been changed dynamically how to extract the document name