A data scientist uses PROC TEXTMINE to perform sentiment analysis on customer reviews. Which statement or option enables the built-in SAS sentiment analysis capability?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — a is correct because PROC TEXTMINE includes a SENTIMENT statement that activates the built-in sentiment scoring engine, with OUTSENTIMENT= specifying where to write the document-level sentiment scores (positive, negative, neutral probabilities). B is wrong because OPTION SENTIMENT=YES is not valid PROC TEXTMINE syntax.
Full explanation below image
Full Explanation
A is correct because PROC TEXTMINE includes a SENTIMENT statement that activates the built-in sentiment scoring engine, with OUTSENTIMENT= specifying where to write the document-level sentiment scores (positive, negative, neutral probabilities). B is wrong because OPTION SENTIMENT=YES is not valid PROC TEXTMINE syntax. C is wrong because the PARSE statement handles tokenization, not sentiment scoring, and SENTIMENT=POSITIVE is not a valid PARSE option. D is wrong because there is no separate PROC SENTIMENT — sentiment is built into PROC TEXTMINE.