In this assignment, you will use the code and data set provided to mine the data using the methods presented in this module. This dataset is the infamous, "I Have A Dream Speech" by Martin Luther...

1 answer below »
In this assignment, you will use the code and data set provided to mine the data using the methods presented in this module. This dataset is the infamous, "I Have A Dream Speech" by Martin Luther King. Using data mining techniques, we want to see if our techniques actually match what Dr.King was trying to convey in this speech.
The code is below: (This week it is in R but if you want to try, you can also do this in Python).
Text Mining and Wordcloud Fundamentals R Code.txt
Your report should include the following:
Behind The Scense Background of each of the key analysis steps from the code. Explain the context and meaning behind using different visuals to try to understand our results. Do not just write word for word what your code it.Analysis: Based on the output, analyze the data and the relationships revealed about the variables of interest. You should be testing to see if the analysis that is provided in each visual match the message and context of Dr.King. This creates a great conversation about whether or not text mining is trustworthy or not.Interpretation and Recommendations: Provide recommendations for actions to be taken based on your interpretation (such as can we take any text and expect text mining to correctly depict the message). Support those facts with the data and ultimately make a recommendationYour report must be a 4-5 pages (no shorter or longer) Word document. Include an appendix of visualizations and attach your code segment in another document as needed. The report format should follow APA formatting (12pt, Times New Roman font).
Answered Same DayAug 08, 2021

Answer To: In this assignment, you will use the code and data set provided to mine the data using the methods...

Subhanbasha answered on Aug 09 2021
150 Votes
Analysis-Report
    The text mining is way of analyzing the text data and converts it into meaningful insights. It is also called as text analytics. In most of the times while analyzing business scen
ario there will be textual data rather than numerical data. So we need to analyze textual data and need to make the key insights and also need to give the recommendations as per the analysis.
    Here we use the NLP concepts and will do the txt mining in the required manner. Natural language processing is used to do the text analytics that means we can play with textual data by using the NLP. In R programming there is some packages to do the text analytics. We need to install those packages into R studio. The packages are tm, SnowballC, wordcloud, RColorBrewer.
The code as follows
# Install
install.packages("tm") # for text mining
install.packages("SnowballC") # for text stemming
install.packages("wordcloud") # word-cloud generator
install.packages("RColorBrewer") # color palettes
# Load
library("tm")
library("SnowballC")
library("wordcloud")
library("RColorBrewer")
After installing the required packages into R studio IDE we need to read the text data in order to do the analysis. The code for reading the data as follows
#text <- readLines(file.choose())
filePath <- "http://www.sthda.com/sthda/RDoc/example-files/martin-luther-king-i-have-a-dream-speech.txt"
text <- readLines(filePath)
The above lines are to be used to read the text lines into object in R so, that we can use it in further analysis. The lines are loaded in proper format which is used in NLP.
After reading the lines in proper format need to convert the text object as corpus. Corpus is nothing but collection of text in proper format.
# Load the data as a corpus
docs <- Corpus(VectorSource(text))
inspect(docs)
After converting as corpus then we need to inspect the corpus to know the text where it has been saved in the proper format. The code for inspecting the...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here