readTextFile: Read text files in binary mode

Description Usage Arguments Value Examples

Description

This function reads text files in the binary mode

Usage

1
readTextFile(fileName, encoding)

Arguments

fileName

A path to the text file

encoding

Read text data with encoding

Value

a list having all the text data from file

Examples

1
## Not run: sampleTextData("data/twitter.txt","UTF-8")

achalshah20/ANLP documentation built on May 10, 2019, 5:10 a.m.