GitXplorerGitXplorer
n

puntender

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
93e1e34fb28e00cdfa8a23d51a32899e5f5cbe1d

Update README.md

nnotmahi committed 6 years ago
Verified
89ee9685904879a3c5d3a57a26363a381e303deb

Update README.md

nnotmahi committed 6 years ago
Verified
afdd7dd4c9904cac31165ad48ae0e1e15631a80b

Update README.md

nnotmahi committed 6 years ago
Verified
fbe9799d787f5428b48daf3995ac6e36cb54de96

Rename output.txt to conceptnet_main_output.txt

kksedlar committed 7 years ago
Unverified
2ee0af8ef5510769bd92bdc506b4a389f068c758

made output file for wordnet_main

committed 7 years ago
Unverified
e21b956ebbc8bb78f54516a0037fe0d05b3b811a

added special treatment of words not found in Wordnet.

committed 7 years ago

README

The README file for this repository.

puntender

An experiment in computational humor comprehension using WordNet and ConceptNet, on the joke structure, "____ walks into a bar. The barman says, '_____'".

There are two main programs: one which analyzes the joke via WordNet and another which uses ConceptNet. Both of these programs run using python3. If you do not have python3 installed, please follow one of these tutorials: https://docs.python-guide.org/starting/installation/#python-3-installation-guides

Before running the programs, you should run the following command in the terminal to install the necessary modules and download the needed nltk packages. The jokes to be analyzed should be placed in the jokes.txt file, one on each line.

python3 setup.py

To run the WordNet analyzer, run

python3 wordnet_main.py

To run the ConceptNet analyzer, run

python3 conceptnet_main.py