SELECT * FROM EvaluateSentimentExtractor ( ON ExtractSentiment ( ON sentiment_extract_input partition BY ANY ON sentiment_word AS dict DIMENSION TextColumn ('review') Accumulate ('category') ) PARTITION BY 1 ObsColumn ('category') SentimentColumn ('out_polarity') );