% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocessing.R
\name{extract_text_from_pdf_py}
\alias{extract_text_from_pdf_py}
\title{Extract Text from PDF using Python}
\usage{
extract_text_from_pdf_py(file_path, envname = NULL)
}
\arguments{
\item{file_path}{Character string path to PDF file}

\item{envname}{Character string, name of Python virtual environment
(default: "textanalysisr-env")}
}
\value{
Data frame with columns: page (integer), text (character)
Returns NULL if extraction fails or PDF is empty
}
\description{
Extracts text content from a PDF file using pdfplumber (Python).
No Java required - uses Python environment.
}
\details{
Uses pdfplumber Python library through reticulate.
Requires Python environment setup. See \code{setup_python_env()}.
}
\concept{pdf}
\keyword{internal}
