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
(
Edited: 2019-11-25)
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