Question: HW _ 1 Lexicon - based Text Mining With Whom Do People Spend Happy Moments? Data HappyDB is a corpus of 1 0 0 ,
HW Lexiconbased Text Mining
With Whom Do People Spend Happy Moments?
Data
HappyDB is a corpus of crowdsourced descriptions of happy moments. HappyDB is
available on GitHub The cleaned data set is located at
Task points in total; four subtasks, each
HappyDB provided a people dictionary which is a lexicon of common social
relationships. Use this lexicon to find the top three social relationships mentioned in
happy moments, eg spouse, parents, children, friends, or someone else.
Use your world knowledge to assess the strengths and weaknesses of the people
dictionary in terms of answering the question with whom do people spend happy
moments? You can define peoplestrength and weakness in your own way here.
If you think this dictionary is already perfect, you can articulate your argument and skip
task # instead.
Modify the people dictionary to fix the weaknesses that you have identified. Use the
revised lexicon to redo task #
Extract five context words before and after the most mentioned people, sort by frequency,
and explore patterns in the most frequent context words, for example, any words
indicating activities that people do in happy moments?
Submission
Write a Python script in Jupyter Notebook and submit your code file named
HWfirstnamelastname.ipynb The file should include your code and your explanations in
comments. Make sure to include your name in both filename and comment on top of your code.
Grading criteria:
Accuracy and reproducibility in analysis
Clarity in explaining the analytical process and result
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
