4 Replies Latest reply on Dec 4, 2016 6:04 PM by mark schukas

    polarity with r and sentimentr library

    mark schukas

      here's what I'm using, but I only return the value of 4:

       

      //Polarity_sentimentr_Value

      FLOAT(SCRIPT_INT("library(sentimentr);(sentiment(.arg1)[,4])",

      ATTR([Current Verification Comments])))

       

      I have it working in R with:

      sentr<-sentiment(documents$Answer)

      sentrII<-sentr[[4]]

       

      WDYT?

       

      thanks