In this project, we detected language of a given tweet through NLP packages and compared different packages avaliable for language detection.
- R 3.x or Higher
- RStudio 1.0.44 or Higher
- Twitter Application credentials
- Good internet connection
- First run the
installscript.r
script and open thenlplanguagedetect.R
script. - Now set the credentials as show below:
#Settings for Twitter Application Credentials
consumer_key<-''
consumer_secret<-''
access_token<-''
access_token_secret<-''
- Now change the hastag and the number of tweets to be collected.
#Data extraction settings
search.string <- "#edm"
no.of.tweets <- 100
- Run the script and you'll see the results on the screen.
Nidhi Pillai and Kshithij Iyer
The project is released under apache 2.0 licence.