library(parser)
txt <- c(
    "Really, I like chocolate because it is good.",
    "It smells great.",
    "Robots are rather evil and most are devoid of decency.",
    "He is my friend.",
    "Clifford the big red dog ate my lunch.",
    "Profess Johns can not teach",
    "",
    NA
)

parse_ann <- parse_annotator()
x <- parser(txt, parse_ann)
as_square_brace_latex(x)


trinker/parser documentation built on May 31, 2019, 9:41 p.m.