Daftar Isi:
  • Racism, bigotry, and fascism are now a big deal around the world especially on social media. Begin when religion blasphemy from fascists and race humiliation were a perfect subject to put down people personally on social media. Overall, this project can analysed and classified whether it is the negative tweet or not by using k-NN implementation. The project use python as its programming language. The first thing came with scrapping tweets by #hashtag trending from twitter, data will be saved in csv form and its title has # symbol on the front. The next step is pre-processing which is tokenize, stopwords, and stemming. Afterwards, the document is calculated with Tf-Idf and compared with data training which also had been calculated with Tf-Idf. The Final step is all the result input into k-NN algorithm to find out the nearest neighbour of negative words which is the lowest score. Final conclusion of this project is the result which has less point has the nearest score on negative text. The document which declared negative is the document which has more than 40% negative texts inside. The accuracy of this calculation is 82.3%.