text-url-pdf-summarization

FREEMIUM
By MP Apis | Updated un mese fa | Text Analysis
Popularity

7.2 / 10

Latency

2,256ms

Service Level

100%

Health Check

N/A

Back to All Tutorials (1)

How to use text-url-pdf-summarization?

This api has three types of end points:

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.

Simple Text

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

URLs

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.

PDFs

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