% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lexical_analysis.R
\name{spacy_extract_entities}
\alias{spacy_extract_entities}
\title{Extract Named Entities with spaCy}
\usage{
spacy_extract_entities(x, model = "en_core_web_sm")
}
\arguments{
\item{x}{Character vector of texts OR a quanteda tokens object.}

\item{model}{Character; spaCy model to use (default: "en_core_web_sm").}
}
\value{
A data frame with entity information:
\itemize{
\item \code{doc_id}: Document identifier
\item \code{text}: Entity text
\item \code{label}: Entity type (PERSON, ORG, GPE, etc.)
\item \code{start_char}: Start character position
\item \code{end_char}: End character position
}
}
\description{
Extract named entities from texts using spaCy NER.
}
\concept{lexical}
