I work now with Rstudio version 3.4.3 and I tried to analyze a PDF document in French language using package tm.
My problem is that even I specify the language of the document with this command my_pdf <- readPDF (control = list (text = "- layout")) (elem = list (uri = "C: /Users/lo/Desktop/Eau/Catalogs.pdf", language = "fr"))
. Some words are not well written, for example I find instead of the word "nourrice" the word "nourric" and instead "description" the word "descript".
Do you have any idea how i can solve that?