prep_documents: Preps documents for querying

Description Usage Arguments Examples

View source: R/prep_documents.R

Description

Preps documents for querying

Usage

1
2
prep_documents(path, ocr = TRUE, clean = TRUE, weights = TRUE,
  type = "pdf")

Arguments

path

Path to the folder containing PDFs

ocr

True/False - whether or not to run OCR, defaults to true

clean

True/False - whether or not to create the corpus dataframe, defaults to true

weights

True/False - whether or not to calculate neural weights, defaults to true

Examples

1
corpus <- prep_documents("path/to/files")

wri/retrieveR documentation built on July 23, 2019, 11:54 p.m.