Sign inSign up

rmottanet/unchainedtext

By rmottanet

Updated over 2 years ago

UnchainedText: Break free from PDFs! Easily extract raw text to .txt for preprocessing.

Image
0

931

rmottanet/unchainedtext repository overview

Folder Structure Setup

Create the necessary folder structure for the project to understand the paths:

folder
  ├── data
  │   ├── pdf
  │   │   └── file_to_convert.pdf
  │   └── raw
Pull Docker Image

Pull the UnchainedText Docker image from Docker Hub:

docker pull rmottanet/unchainedtext
Execution

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.


Bitbucket Static Badge Codeberg Static Badge Docker Static Badge Gitea Static Badge GitLab Static Badge

Tag summary

Content type

Image

Digest

sha256:1eaf9b114

Size

220.2 MB

Last updated

over 2 years ago

docker pull rmottanet/unchainedtext