About the API:
The challenge of breaking down a string of written language into its individual phrases is known as sentence segmentation. Using punctuation, especially the full stop/period letter is a suitable approximation in English and certain other languages. Due to the usage of the full stop character for abbreviations, which may or may not also end a phrase, this issue is not simple even in English.
Pass any paragraph to this API in a JSON object, and receive an array with all the sentences recognized in the text.
This API will help you to retrieve sentences in a given text. Maybe, sometimes you don't need all the text or want to extract different sentences from an article, this API will help you.
Besides API call limitations per month, there are no other limitations.
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
The Segmentation endpoint returns an array of sentences extracted from the provided text. Each sentence is identified based on punctuation and sentence structure.
The primary field in the response data is an array called "sentences," which contains the segmented sentences as individual string elements.
The response data is structured as a JSON object containing a single key, "sentences," which maps to an array of strings, each representing a distinct sentence from the input text.
The Segmentation endpoint accepts a single parameter: the input text, which should be provided as a string within a JSON object.
Users can customize their requests by varying the input text they provide. Different paragraphs will yield different arrays of segmented sentences based on their content.
Typical use cases include extracting sentences for summarization, analyzing sentence structure, or isolating quotes from larger texts for further processing.
If the input text is empty or does not contain recognizable sentences, the API will return an empty array. Users should check for this condition to handle such cases gracefully.
The API employs algorithms that utilize punctuation and linguistic rules to ensure accurate sentence segmentation. Continuous updates and testing help maintain data quality.
服务级别:
100%
响应时间:
94ms
服务级别:
100%
响应时间:
20ms
服务级别:
100%
响应时间:
19ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
4,649ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
2,373ms
服务级别:
100%
响应时间:
4,048ms
服务级别:
100%
响应时间:
19ms
服务级别:
100%
响应时间:
646ms