louisharris / dissertation-text-summarisation

Dissertation code for my 3rd Year Paper on Exploring Text Summarisation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extractive Summarisers

Dissertation code for my 3rd Year Paper on Exploring Text Summarisation

ROUGE is the scoring metric used to evaluate the similarity between the generated 100 word summaries and the 100 word human-written test summaries.

Preprocessing:

  • Preprocess documents into 'entries', each entry represents a document and its attributes (sentences, parsed_sentences, paired human-written summary)
  • Test and training entries are assigned to test_entries, train_entries in preprocessing.Preprocessing
  • Training scores are assigned to the test data based on ROUGE similarity between each sentence in the train summary and human-written summary.

Postprocessing:

  • Once generated summaries are obtained, ROUGE similarity is compared with human-written summary and returned.

Installation:

Run:

  • In main function in main class, set train=True in self.evaluate(train=) to train the CNN. S train=False to evaluate and calculate the ROUGE scoring, printing the results.
  • Run main.py for each case
  • 4 Scores are printed after evaluation, CNN, TextRank, combined and control case
  • Can optionally apply stemming to CNN by setting the stem parameter in load_dataset(stem=) in the main function (although this is irrlevant to the problem)

Paper to cross reference CNN architecture:

https://ieeexplore.ieee.org/document/7793761

About

Dissertation code for my 3rd Year Paper on Exploring Text Summarisation


Languages

Language:Perl 59.4%Language:HTML 30.5%Language:Python 10.1%