This function uses parallel processing to analyze documents faster.
parallel_analysis(
text_data,
analysis_function,
text_column = "abstract",
...,
n_cores = NULL
)A data frame with analysis results.
A data frame containing text data.
Function to apply to each document.
Name of the column containing text to analyze.
Additional arguments passed to the analysis function.
Number of cores to use for parallel processing. If NULL, uses all available cores minus 1.