UnchainedText: Break free from PDFs! Easily extract raw text to .txt for preprocessing.
931
Create the necessary folder structure for the project to understand the paths:
folder
├── data
│ ├── pdf
│ │ └── file_to_convert.pdf
│ └── raw
Pull the UnchainedText Docker image from Docker Hub:
docker pull rmottanet/unchainedtext
Run the Docker container with the following command:
docker run -it -e INPUT_FOLDER=/app/data/pdf -e OUTPUT_FOLDER=/app/data/raw -v $(pwd)/data/pdf:/app/data/pdf -v $(pwd)/data/raw:/app/data/raw rmottanet/unchainedtext
This will convert the PDF files located in /data/pdf and save the extracted text files in /data/raw.
These instructions guide for users to run UnchainedText locally using Docker, including setting up the required folder structure and executing the Docker commands. Let me know if you need further assistance or additional sections for the Wiki.
Content type
Image
Digest
sha256:1eaf9b114…
Size
220.2 MB
Last updated
over 2 years ago
docker pull rmottanet/unchainedtext