Académique Documents
Professionnel Documents
Culture Documents
Task 1
What to do?
For the game players whose ids are saved at the ‘list_of_players_fa.txt’, you need to do a social network
analysis.
1) For each player, collect the following information using the API provided by Kongregate.com
- list of friends
- game level
* For the players who set their information private (or personal) or who do not exist anymore on the site
so that you cannot collect the required data for the players, please skip those players.
2) Using the friends data for each player, you need to construct a social network using the ‘NetworkX’
module. The network should consist of only the players in the text file. For each node, you also add a
node attribute, which is game level.
3) Using the ‘NetworkX’ module, please find the following information for each player
4) Discuss the relationship between a player’s game level and the player’s in/outdegree.
6) Report the analysis results in a Word file including the above discussion. You also need to include the
visualization result.
What to submit?
1
Task 2
What to do?
For the news articles whose urls are saved at the ‘list_of_articles_fa.txt’ file (they are news articles on the
People’s Daily, a Chinese newspaper), you need to do a semantic network analysis (You should analyze
all the news articles together, not separately).
1) First, collect the content of all the news articles using the Web scraping techniques and the ‘for’
statement.
2) Do text preprocessing.
- You should not remove symbols that indicate the end of a sentence such as ‘.’, ‘?’, ‘!’
4) For top 20 most frequently used noun words, do a semantic network analysis.
A tie between two words is defined to exist if they are used in the same sentence. For each tie, you also
need to add an attribute, which is about the weight (i.e., the number of times that those two words have
been used in the same sentence). The name of this attribute should be ‘weight’.
6) Report the analysis results in a Word file and briefly discuss the results. Especially, you should discuss
what words have been frequently used with the word, ‘DPRK’, and implications of the result. You also
need to include the visualization result.
What to submit?
Where to submit
- On YSCEC