-- Please help me find examples of PHP algorithms to classify the $url variable exactly like YIOOP (+0/0). - 25/11/2019 Yioop Software Help

The Code for the summarizers can be found in
 src/library/summarizers.
A class file for each summarizer can be found there. The main method that is called by Yioop is
 getSummary()
Roughly, what this does is split the text string passed to it into sentences with respect to the current language. Then each sentence is scored using the score technique of the particular summarizer and sorted according to this score. The summarizer then keeps the highest scoring sentences up to a desired summary length. These are then output in the orginal order they appeared in the document. The above examples you give say how the scoring is computed for each document in words, the code though can be found in the files in that folder.
Best,
Chris

Last Edited: 25/11/2019
The Code for the summarizers can be found in src/library/summarizers. A class file for each summarizer can be found there. The main method that is called by Yioop is getSummary() Roughly, what this does is split the text string passed to it into sentences with respect to the current language. Then each sentence is scored using the score technique of the particular summarizer and sorted according to this score. The summarizer then keeps the highest scoring sentences up to a desired summary length. These are then output in the orginal order they appeared in the document. The above examples you give say how the scoring is computed for each document in words, the code though can be found in the files in that folder. Best, Chris
 
[X ]