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

Sentiment को विज़ुअलाइज़ करना

आइए एक word_counts डेटासेट बनाएँ और देखें कि हमारे Twitter डेटा में किस sentiment से कौन-से शब्द जुड़े हैं.

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

R में Text Analysis परिचय

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

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

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

word_counts <- tidy_twitter %>% 
  # Append the NRC dictionary and filter for positive, fear, and trust
  ___(___) %>% 
  ___(___) %>%
  # Count by word and sentiment and keep the top 10 of each
  ___(___) %>% 
  group_by(___) %>% 
  ___(___) %>% 
  ungroup() %>% 
  # Create a factor called word2 that has each word ordered by the count
  mutate(___)
कोड संपादित करें और चलाएँ