initial commit
Browse files
README.md
CHANGED
@@ -74,9 +74,10 @@ for entity in sentence.get_spans('ner'):
|
|
74 |
|
75 |
This yields the following output:
|
76 |
```
|
77 |
-
Span [2,3]: "September 1st" [β Labels: DATE (0
|
78 |
-
Span [4
|
79 |
-
Span [7
|
|
|
80 |
```
|
81 |
|
82 |
So, the entities "*September 1st*" (labeled as a **date**), "*George*" (labeled as a **person**), "*1 dollar*" (labeled as a **money**) and "Game of Thrones" (labeled as a **work of art**) are found in the sentence "*On September 1st George Washington won 1 dollar while watching Game of Thrones*".
|
|
|
74 |
|
75 |
This yields the following output:
|
76 |
```
|
77 |
+
Span [2,3]: "September 1st" [β Labels: DATE (1.0)]
|
78 |
+
Span [4]: "George" [β Labels: PERSON (1.0)]
|
79 |
+
Span [6,7]: "1 dollar" [β Labels: MONEY (1.0)]
|
80 |
+
Span [10,11,12]: "Game of Thrones" [β Labels: WORK_OF_ART (1.0)]
|
81 |
```
|
82 |
|
83 |
So, the entities "*September 1st*" (labeled as a **date**), "*George*" (labeled as a **person**), "*1 dollar*" (labeled as a **money**) and "Game of Thrones" (labeled as a **work of art**) are found in the sentence "*On September 1st George Washington won 1 dollar while watching Game of Thrones*".
|