Skip to content

Commit 44d5cdd

Browse files
committed
Update README
1 parent 5dd743b commit 44d5cdd

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -118,32 +118,32 @@ To tag a sentence, call `analyze` method:
118118
>>> words = 'President Obama is speaking at the White House.'.split()
119119
>>> model.analyze(words)
120120
{
121-
'words': [
122-
'President',
123-
'Obama',
124-
'is',
125-
'speaking',
126-
'at',
127-
'the',
128-
'White',
129-
'House.'
130-
],
131-
'entities': [
132-
{
133-
'beginOffset': 1,
134-
'endOffset': 2,
135-
'score': 1.0,
136-
'text': 'Obama',
137-
'type': 'PER'
138-
},
139-
{
140-
'beginOffset': 6,
141-
'endOffset': 8,
142-
'score': 1.0,
143-
'text': 'White House.',
144-
'type': 'ORG'
145-
}
146-
]
121+
"words": [
122+
"President",
123+
"Obama",
124+
"is",
125+
"speaking",
126+
"at",
127+
"the",
128+
"White",
129+
"House."
130+
],
131+
"entities": [
132+
{
133+
"beginOffset": 1,
134+
"endOffset": 2,
135+
"score": 1,
136+
"text": "Obama",
137+
"type": "PER"
138+
},
139+
{
140+
"beginOffset": 6,
141+
"endOffset": 8,
142+
"score": 1,
143+
"text": "White House.",
144+
"type": "ORG"
145+
}
146+
]
147147
}
148148
```
149149

0 commit comments

Comments
 (0)