This Python script counts the number of words in a PDF file.
- Count total words in any PDF file.
- Supports complex PDF structures using
pdfplumber
.
- Python 3.x
pdfplumber
library
- Clone the repository:
git clone https://github.com/LuminousVee/pdf-word-counter.git
- Navigate into the project directory:
cd pdf-word-counter
- Install the dependencies:
pip install -r requirements.txt
To count the number of words in a PDF file, run the following command:
python word_counter.py <path_to_pdf>