text_from_dai_file()
is deprecated; please use get_text()
instead.
text_from_dai_file(file, save_to_file = FALSE, dest_dir = getwd())
filepath of a JSON file obtained using dai_async()
boolean; whether to save the text as a .txt file
folder path for the .txt output file if save_to_file=TRUE
a string (if save_to_file = FALSE
)
if (FALSE) { # \dontrun{
text <- text_from_dai_file("mydoc-0.json")
text_from_dai_file("mydoc-0.json", save_to_file = TRUE)
} # }