Final Project of Natural Language Processing with NLTK, Computational Linguistic Course. Final evaluation mark: 29/30
The project consists in the textual analysis, using Python and NLTK library, of the speeches made by Joe Biden and Donald Trump in the US elections on November 2, 2020.
Python3
NLTK Lib
Inside the project you can find 2 corpora of the speechs:
biden.txt
(Biden's speechs)
trumpt.txt
(Trump's speechs)
There are two Python programs which analyse these corpora:
ProgettoBaccheschi599107.py
ProgettoBaccheschi599107Secondo.py
To launch the two programs, in your console type following:
#the program 1 python3 ProgettoBaccheschi599107.py biden.txt trumpt.txt
#the program 2 python3 ProgettoBaccheschi599107Secondo.py biden.txt trumpt.txt
You can find sample outputs in
output.txt
(about first program)output2.txt
(about second program)