शिकायत प्रकार के अनुसार सेंटिमेंट का विज़ुअलाइज़ेशन
अब आइए एक sentiment_twitter डेटा फ़्रेम बनाएँ और देखें कि औसतन शिकायतें वास्तव में अधिक नकारात्मक हैं या नहीं.
यह अभ्यास पाठ्यक्रम का हिस्सा है
R में Text Analysis परिचय
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
sentiment_twitter <- tidy_twitter %>%
# Append the bing sentiment dictionary
___(___) %>%
# Count by complaint label and sentiment
___(___) %>%
# Spread the sentiment and count columns
___(___) %>%
# Compute overall_sentiment = positive - negative
___(___)