शुरू करेंमुफ़्त में शुरू करें

Sentiment की गिनती

tidy_twitter डेटासेट आपके लिए लोड कर दिया गया है. आइए देखें कि हमारे Twitter डेटा में कौन से sentiments सबसे ज़्यादा दिखते हैं.

यह अभ्यास पाठ्यक्रम का हिस्सा है

R में Text Analysis परिचय

पाठ्यक्रम देखें

अभ्यास निर्देश

  • tidy_twitter और NRC sentiment डिक्शनरी को जॉइन करें.
  • sentiment_twitter में sentiments की गिनती करें.
  • sentiment counts को descending क्रम में arrange करें.

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Join tidy_twitter and the NRC sentiment dictionary
sentiment_twitter <- ___ %>% 
  ___(___("nrc"))

# Count the sentiments in sentiment_twitter
___ %>% 
  ___(___) %>% 
  # Arrange the sentiment counts in descending order
  ___(___)
कोड संपादित करें और चलाएँ