extract_acronyms {tidypmc} | R Documentation |
Find acronyms in parentheses
Description
This function searches for words preceding the acronym that start with the same initial letter and will likely fail in many situations.
Usage
extract_acronyms(txt)
Arguments
txt |
A tibble from pmc_text or character vector |
Value
A tibble with acronyms
Author(s)
Chris Stubben
Examples
txt <- c(
"An acronym like multinucleated giant cell (MGC)",
"is later mentioned as MGC in the paper.")
extract_acronyms(txt)
[Package tidypmc version 2.0 Index]