Skip to content

Create word cloud using R by extracting keywords from PDF files

Notifications You must be signed in to change notification settings

leejaymin/WordCloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Cloud from PDF using R

This project is to create Wrold Cloud from PDF file. My code shows how a word cloud can be generated using the R programming language on the basis of a given PDF document.

Used packages are as bellow:

  • tm (text mining)
  • wordcloud
  • RColorBrewer (fancy colors in a word cloud)

Code strcture

  • Loading the required libraries and setting inital parameters
  • Reading the text in the PDF file
  • Creating the text corpus
  • Generating the word cloud. This result is the following:

  • Anlyzing word frequency is as follow.

Reference

[1] Using R to create a Wrod Cloud from a PDF Document [2] Basic Text mining in R

About

Create word cloud using R by extracting keywords from PDF files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages