Skip to content

Final Project of Natural Language Processing with NLTK, Computational Linguistic Course. *Final evaluation mark: 29/30*

Notifications You must be signed in to change notification settings

Bakko000/NLTKProject

Repository files navigation

NLTKProject

Final Project of Natural Language Processing with NLTK, Computational Linguistic Course. Final evaluation mark: 29/30

About

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.

Using

Python3

NLTK Lib

Info

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

Example

You can find sample outputs in

  • output.txt (about first program)
  • output2.txt (about second program)

About

Final Project of Natural Language Processing with NLTK, Computational Linguistic Course. *Final evaluation mark: 29/30*

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages