Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Hironsan committed Nov 25, 2017
1 parent 5dd743b commit 44d5cdd
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,32 +118,32 @@ To tag a sentence, call `analyze` method:
>>> words = 'President Obama is speaking at the White House.'.split()
>>> model.analyze(words)
{
'words': [
'President',
'Obama',
'is',
'speaking',
'at',
'the',
'White',
'House.'
],
'entities': [
{
'beginOffset': 1,
'endOffset': 2,
'score': 1.0,
'text': 'Obama',
'type': 'PER'
},
{
'beginOffset': 6,
'endOffset': 8,
'score': 1.0,
'text': 'White House.',
'type': 'ORG'
}
]
"words": [
"President",
"Obama",
"is",
"speaking",
"at",
"the",
"White",
"House."
],
"entities": [
{
"beginOffset": 1,
"endOffset": 2,
"score": 1,
"text": "Obama",
"type": "PER"
},
{
"beginOffset": 6,
"endOffset": 8,
"score": 1,
"text": "White House.",
"type": "ORG"
}
]
}
```

Expand Down

0 comments on commit 44d5cdd

Please sign in to comment.