Download the PHP package php-science/textrank without Composer
On this page you can find all versions of the php package php-science/textrank. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-science/textrank
More information about php-science/textrank
Files in php-science/textrank
Package textrank
Short Description TextRank (automatic text summarization) for PHP.
License MIT
Informations about the package textrank
TextRank
This source code is an implementation of TextRank algorithm in PHP programming language, under MIT licence.
TextRank vs. ChatGPT
GPTs like ChatGPT are supervised language models that understand the context and generate new content from the given input using vast resources while TextRank is a cost-efficient/low-cost text extraction algorithm. TextRank algorithm also can be used as a pre-processor to a GPT model to reduce the text size to save on resource consumption.
TextRank or Automatic summarization
Automatic summarization is the process of reducing a text document with a computer program in order to create a summary that retains the most important points of the original document. Technologies that can make a coherent summary take into account variables such as length, writing style and syntax. Automatic data summarization is part of machine learning and data mining. The main idea of summarization is to find a representative subset of the data, which contains the information of the entire set. Summarization technologies are used in a large number of sectors in industry today. - Wikipedia
The algorithm of this implementation is:
- Extracts sentences,
- Removes stopwords,
- Adds integer values to words by finding and counting the matching words,
- Weights the values of the words,
- Normalizes values to get the scores,
- Sorts by scores
Install to use it in your project
Install for contributing
Examples
More examples:
Authors, Contributors
Name | GitHub user |
---|---|
David Belicza | @DavidBelicza |
Riccardo Marton | @riccardomarton |
Syndesi | @Syndesi |
vincentsch | @vincentsch |
Andrew Welch | @khalwat |
Andrey Astashov | @mvcaaa |
Leo Toneff | @bragle |
Willy Arisky | @willyarisky |
Robert-Jan Keizer | @KeizerDev |
Morty | @evil1morty |
Sezer Fidancı | @SezerFidanci |
All versions of textrank with dependencies
ext-ctype Version *
ext-mbstring Version *