Algorithm for Collecting and Sorting Data from Twitter through the Use of Dictionaries in Python

M. Beatriz Bernábe Loranca, Enrique Espinoza González Velázquez, Carmen Cerón Garnica

Abstract


In this work we developed a tool for the classification of natural language in the social network Twitter: The main purpose is to divide in to twoclasses, the opinions that the users express about the political moment of the Mexican presidential elections in 2018. In this scenario, considering the information from the Tweets as corpus, these have been randomly downloaded from different users and with the tagging algorithm, it has been possible to identify the commentsin to two categories defined as praises and insults, which are directed towards the presidential candidates. The tool known as CLiPS from Python, has been used for such purpose with the inclusion of the tagging algorithm. Finally, the frequency of the terms is analyzed with descriptive statistics.

Keywords


Dictionary, twitter, NLP, python

Full Text: PDF