Programming Homework Help

CUMS Well Novels Bigram Networks Project Overview Report

 

  1. Create notwork graph of bigrams in a Wells’ novels. Do not include stop words. Make the links darker the more common the bigram is. Use arrows at the end of the line toward the second word. Colorize the central node. Show a chart and your code with line-by-line comments.
  2. Create a count_bigrams function to reuse for counting bigrams in other texts. Comment your code line by line.
  3. Create a visualize_bigrams function to reuse for visualizing network graphs of other texts. Comment your code line by line. Show an example network graph.

Please add your commentary, in your own words, on what the graphs are showing. Related materials and code for references can be found here: https://www.tidytextmining.com/ngrams.html

I need the rmd file so that I can execute the code on my mac and pdf of the output you executed. Always repeat the question you are answering. Thank you!