File tree Expand file tree Collapse file tree 1 file changed +26
-26
lines changed
Expand file tree Collapse file tree 1 file changed +26
-26
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments