Last active
December 10, 2015 17:48
-
-
Save abromberg/4470271 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
posText <- read.delim(file='polarityData/rt-polaritydata/rt-polarity-pos.txt', header=FALSE, stringsAsFactors=FALSE) | |
posText <- posText$V1 | |
posText <- unlist(lapply(posText, function(x) { str_split(x, "\n") })) | |
negText <- read.delim(file='polarityData/rt-polaritydata/rt-polarity-neg.txt', header=FALSE, stringsAsFactors=FALSE) | |
negText <- negText$V1 | |
negText <- unlist(lapply(negText, function(x) { str_split(x, "\n") })) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment