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/Translator/reference/v3-0-break-sentence.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,13 +79,17 @@ An example JSON response is:
79
79
80
80
```json
81
81
[
82
-
{
83
-
"sentLen": [ 13, 11, 22 ]
84
-
"detectedLanguage": {
85
-
"language": "en",
86
-
"score": 401
87
-
},
88
-
}
82
+
{
83
+
"detectedLanguage": {
84
+
"language": "en",
85
+
"score": 1.0
86
+
},
87
+
"sentLen": [
88
+
13,
89
+
11,
90
+
22
91
+
]
92
+
}
89
93
]
90
94
```
91
95
@@ -145,4 +149,4 @@ The following example shows how to obtain sentence boundaries for a single sente
145
149
146
150
```curl
147
151
curl -X POST "https://api.cognitive.microsofttranslator.com/breaksentence?api-version=3.0" -H "Ocp-Apim-Subscription-Key: <client-secret>" -H "Content-Type: application/json" -d "[{'Text':'How are you? I am fine. What did you do today?'}]"
0 commit comments