Merge pull request #5 from sfilipi/sefilipi/fixFilePath
reading the character sentiment from local files
This commit is contained in:
Коммит
7f0c3aa4a2
|
@ -6,7 +6,7 @@ library(stringr)
|
|||
library(reshape)
|
||||
|
||||
# Read the war and peace dataset, with key phrase and sentimenet extracted
|
||||
warpeace <- read.csv(file="https://machinelearningdatasets.blob.core.windows.net/public/warandpeace/warandpeaceSentimentKeyPhrase.csv",header=FALSE, sep=",")
|
||||
warpeace <- read.csv(file="./data/warandpeaceSentimentKeyPhrase.csv",header=FALSE, sep=",")
|
||||
|
||||
# Specify the characters in War and Peace
|
||||
bookCharacters <- c("Cyril", "Bezúkhov", "Pierre", "Nicholas",
|
||||
|
|
Загрузка…
Ссылка в новой задаче