% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/citation_analysis.R
\name{map_citations_to_segments}
\alias{map_citations_to_segments}
\title{Map citations to document segments or sections}
\usage{
map_citations_to_segments(
  citations_df,
  text,
  use_sections = "auto",
  n_segments = 10
)
}
\arguments{
\item{citations_df}{Data frame with citations and their positions}

\item{text}{Text object (string or list with sections)}

\item{use_sections}{Logical or "auto". Use sections if available}

\item{n_segments}{Integer. Number of segments if not using sections}
}
\value{
Citations data frame with segment/section information
}
\description{
Map citations to document segments or sections
}
\keyword{internal}
