You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/summarization/how-to/document-summarization.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,16 +51,6 @@ You submit documents to the API as strings of text. Analysis is performed upon r
51
51
52
52
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. After this time period, the results are purged and are no longer available for retrieval.
53
53
54
-
You can use the `sentenceCount` parameter to specify how many sentences will be returned, with `3` being the default. The range is from 1 to 20.
55
-
56
-
You can also use the `sortby` parameter to specify in what order the extracted sentences will be returned - either `Offset` or `Rank`, with `Offset` being the default.
57
-
58
-
59
-
|parameter value |Description |
60
-
|---------|---------|
61
-
|Rank | Order sentences according to their relevance to the input document, as decided by the service. |
62
-
|Offset | Keeps the original order in which the sentences appear in the input document. |
63
-
64
54
### Getting document summarization results
65
55
66
56
When you get results from language detection, you can stream the results to an application or save the output to a file on the local system.
@@ -85,9 +75,18 @@ Using the above example, the API might return the following summarized sentences
85
75
86
76
You can use document extractive summarization to get summaries of articles, papers, or documents. To see an example, see the [quickstart article](../quickstart.md).
87
77
78
+
You can use the `sentenceCount` parameter to specify how many sentences will be returned, with `3` being the default. The range is from 1 to 20.
79
+
80
+
You can also use the `sortby` parameter to specify in what order the extracted sentences will be returned - either `Offset` or `Rank`, with `Offset` being the default.
81
+
82
+
|parameter value |Description |
83
+
|---------|---------|
84
+
|Rank | Order sentences according to their relevance to the input document, as decided by the service. |
85
+
|Offset | Keeps the original order in which the sentences appear in the input document. |
0 commit comments