Api created to find words at an pdf file