4/9/2023 0 Comments Summarize my textYou can use the sentenceCount parameter to specify how many sentences will be returned, with 3 being the default. After this time period, the results are purged and are no longer available for retrieval. When using this feature, the API results are available for 24 hours from the time the request was ingested, and is indicated in the response. Because the API is asynchronous, there may be a delay between sending an API request, and receiving the results. Analysis is performed upon receipt of the request. You submit documents to the API as strings of text. The API may return offsets in the response to support different multilingual and emoji encodings. if you don't specify a language, key phrase extraction will default to English. When you submit documents to be processed by key phrase extraction, you can specify which of the supported languages they're written in. You can also configure your API requests to use a specific model version. Length: is the length of each extracted sentence.ĭetermine how to process the data (optional) Specify the document summarization modelīy default, document summarization will use the latest available AI model on your text.offset: The start position of each extracted sentence, and.extractive summarization also returns the following positional information:.Top ranked sentences will be returned per request extractive summarization returns sentences together with a rank score, and.key phrase extraction returns phrases while extractive summarization returns sentences.When deciding between key phrase extraction and extractive summarization, consider the following: There is another feature in Azure Cognitive Service for Language, key phrases extraction, that can extract key information. For example, if you request a three-sentence summary, the service returns the three highest scored sentences. ![]() The model gives a score between 0 and 1 (inclusive) to each sentence and returns the highest scored sentences per request. A rank score is an indicator of how relevant a sentence is determined to be, to the main idea of a document. These sentences collectively convey the main idea of the document.Įxtractive summarization returns a rank score as a part of the system response along with extracted sentences and their position in the original documents. The extractive summarization API uses natural language processing techniques to locate key sentences in an unstructured text document. You can also make example requests using Language Studio without needing to write code. If you want to start using this feature, you can follow the quickstart article to get started.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |