Using prolog to replace words with synonyms (same sense) having the same gramatical categories.
Rank sentence by the tf-idf algorithm and extractt top sentences as the summary.
Combine modules 1 and 2. Attempt to paraphrase every sentence of the extracted sentences.
Wordnet prolog database from Princeton: https://wordnet.princeton.edu/documentation/prologdb5wn