8000 README · adkatrit/stanford-corenlp-python@eeda267 · GitHub
[go: up one dir, main page]

Skip to content

Commit eeda267

Browse files
committed
README
1 parent 6d5c766 commit eeda267

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
< 4986 td data-grid-cell-id="diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5-51-51-2" data-line-anchor="diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R51" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-additionLine-bgColor, var(--diffBlob-addition-bgColor-line));padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell right-side-diff-cell left-side">+
['world', {'NamedEntityTag': 'O', 'CharacterOffsetEnd': 11, 'CharacterOffsetBegin': 6, 'PartOfSpeech': 'NN', 'Lemma': 'world'}]]}]
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ That returns a list containing a dictionary for each sentence, with keys `text`,
4747

4848
Result [{'text': 'hello world',
4949
'tuples': [['amod', 'world', 'hello']],
50-
'words': [['hello', {'NamedEntityTag': 'O', 'CharacterOffsetEnd': '5', 'CharacterOffsetBegin': '0', 'PartOfSpeech': 'JJ', 'Lemma': 'hello'}],
51-
['world', {'NamedEntityTag': 'O', 'CharacterOffsetEnd': '11', 'CharacterOffsetBegin': '6', 'PartOfSpeech': 'NN', 'Lemma': 'world'}]]}]
50+
'words': [['hello', {'NamedEntityTag': 'O', 'CharacterOffsetEnd': 5, 'CharacterOffsetBegin': 0, 'PartOfSpeech': 'JJ', 'Lemma': 'hello'}],
51
5252

5353
To use it in a regular script or to edit/debug it (because errors via RPC are opaque), load the module instead:
5454

0 commit comments

Comments
 (0)
0