Skip to content

Commit 7a1ae67

Browse files
authored
Update v3-0-break-sentence.md
1 parent 7ecf704 commit 7a1ae67

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

articles/cognitive-services/Translator/reference/v3-0-break-sentence.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,17 @@ An example JSON response is:
7979

8080
```json
8181
[
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+
}
8993
]
9094
```
9195

@@ -145,4 +149,4 @@ The following example shows how to obtain sentence boundaries for a single sente
145149

146150
```curl
147151
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?'}]"
148-
```
152+
```

0 commit comments

Comments
 (0)