bt_text_preprocess: Basic preprocessing of text for classification/training

View source: R/bt_text_preprocess.R

bt_text_preprocessR Documentation

Basic preprocessing of text for classification/training

Description

Takes text and returns it lowercase, minus punctuation and stopwords.

Usage

bt_text_preprocess(text, stop.rm = T)

Arguments

text

string or character vector

stop.rm

remove stopwords. set to F for e.g. acting.agency


global-trade-alert/gtabastiat documentation built on June 4, 2023, 6:40 a.m.