strSplitTab: strSplitTab

View source: R/Sherlock.R

strSplitTabR Documentation

strSplitTab

Description

use strsplit to parse words from text t, delete the empty string from the result, and compile into a sorted table of word frequencies

Usage

strSplitTab(t)

Arguments

t

vector of character strings representing lines of the orginal text

Value

a sorted table of raw word counts

Examples

sst<-strSplitTab(texts.vec)
 

SherlockHolmes documentation built on March 31, 2023, 5:47 p.m.