CleanNLPTokens: CleanNLP Tokens

View source: R/tokens.R

CleanNLPTokensR Documentation

CleanNLP Tokens

Description

Computes tokens from text using cleanNLP and Stanford CoreNLP.

Usage

CleanNLPTokens(text, ids = 1:length(text))

Arguments

text

Character vector where each element is a different document.

ids

Optional ids for each text document.

Value

A data.table object containing cleanNLP tokens as a data.table object with token words to lower case and original token stored in word.orig column.


M3SOulu/TextFeatures documentation built on June 24, 2022, 4:56 p.m.