Text summarization is a topic of Natural language processing which refers to the technique of shortening long pieces of text. The intention is to create a coherent and fluent summary having only the main points outlined in the document.
The algorithm includes the use of libraries like numpy and spacy. Implementation of PageRank algorithm is also an important part of it.
PageRank algorithm is being used by google to measure the importance of webpages, where as we have used it in the context of sentences.
Hope this algorithm gives you a satisfactory summary, peace.