alanakbik commited on
Commit
48b95e6
Β·
1 Parent(s): 129016d

initial commit

Browse files
Files changed (1) hide show
  1. README.md +4 -3
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.8824)]
78
- Span [4,5]: "George Washington" [βˆ’ Labels: PERSON (0.9604)]
79
- Span [7,8]: "1 dollar" [βˆ’ Labels: MONEY (0.9837)]
 
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*".