Plain text, url and pdf.
You can summarize texts in these three ways.
All methods have the lang (language) parameter, which are as follows:
Lang:
english, spanish, arabic, azerbaijani, bengali, danish, dutch, finnish, french, german, greek, hungarian, indonesian, italian, kazakh, nepali, nonwegian, portuguese, romanian, russian, slovene, swedish, tajik, turkish
So, when summarizing a text, always put the language.
The parameters of each method are explained below.
In this method the text to be summarized must already be extracted from somewhere (Copy and paste for example).
The parameters are:
Original_Text: Text to be summarized
Percent: percentage (0.2 to 0.8) representing 20% to 80%
Lang: english, spanish, arabic, azerbaijani, Bengali, danish, dutch, finnish, french, german, greek, hungarian, indonesian, italian, kazakh, nepali, nonwegian, portuguese, romanian, russian, slovene, swedish, tajik, turkish
The results come in json as:
marked_text: Text with html markings giving the most important parts according to percentage.
original_text: text without abstract, but can be used for other purposes.
summary_text: here you only have the summary
In this method the text is extracted from up to 10 urls at once.
The parameters are:
urls: address of the urls to be summarized
Percent: percentage (0.2 to 0.8) representing 20% to 80%
Lang: english, spanish, arabic, azerbaijani, Bengali, danish, dutch, finnish, french, german, greek, hungarian, indonesian, italian, kazakh, nepali, nonwegian, portuguese, romanian, russian, slovene, swedish, tajik, turkish
The results come in json as:
title: if the url has a title, our algorithm can recognize it and return this data.
marked_text: Text with html markings giving the most important parts according to percentage.
original_text: text without abstract, but can be used for other purposes.
summary: Just the text summary.
text_url: url of the summarized text.
In this method the pdf file must be in a url…
For example:
domain . com / file.pdf
The parameters are:
url: url fo the pdf file.
Percent: percentage (0.2 to 0.8) representing 20% to 80%
Lang: english, spanish, arabic, azerbaijani, Bengali, danish, dutch, finnish, french, german, greek, hungarian, indonesian, italian, kazakh, nepali, nonwegian, portuguese, romanian, russian, slovene, swedish, tajik, turkish
The results come in json as:
marked_text: Text with html markings giving the most important parts according to percentage.
summary_text: here you only have the summary