cjber commited on
Commit
82c0d3e
1 Parent(s): d45105f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -0
README.md CHANGED
@@ -21,6 +21,25 @@ This model was created with two key goals:
21
  1. Improved NER results on social media
22
  2. Target only place names
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  ## Use in `transformers`
25
 
26
  ```python
 
21
  1. Improved NER results on social media
22
  2. Target only place names
23
 
24
+ In theory this model should be able to detect and ignore metonyms. For example in the sentence:
25
+
26
+ `Manchester played Liverpool last night in London.`
27
+
28
+ Both Manchester and Liverpool refer to football teams, therefore the model outputs:
29
+
30
+ `[
31
+ {
32
+ "entity_group": "location",
33
+ "score": 0.99784255027771,
34
+ "word": "london",
35
+ "start": 42,
36
+ "end": 48
37
+ }
38
+ ]`
39
+
40
+
41
+
42
+
43
  ## Use in `transformers`
44
 
45
  ```python