Detecting Language in a PDF File with Python

Prompt

Result