P
P
portal802017-04-03 17:15:18
PHP
portal80, 2017-04-03 17:15:18

How to count PDF words using php?

Maybe there are ready-made classes or libraries that count characters, words. Please share your ideas.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2017-04-03
@portal80

There are ready libraries for working with pdf:
https://github.com/mgufrone/pdf-to-html
https://www.phpclasses.org/package/9732-PHP-Extrac...
www.pdfparser.org/documentation
www.fpdf.org
https://www.setasign.com/products/fpdi/about

A
Alexander, 2017-04-03
@Mr_Saxa

1st - pdf very often - pictures, I don’t know how to take text from pictures
2nd - the above answer, that is, we unpack pdf and read the text (unless it’s pictures)
3rd - it seems to me to implement this using php - the slowest option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question