Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,7 @@ generator = pipeline(
|
|
27 |
)
|
28 |
|
29 |
out = generator(
|
30 |
-
"I live
|
31 |
)
|
32 |
|
33 |
entities = [item["word"] for item in out]
|
@@ -111,7 +111,7 @@ This gives:
|
|
111 |
|
112 |
```python
|
113 |
>>> names
|
114 |
-
['
|
115 |
|
116 |
>>> labels
|
117 |
['location', 'location']
|
|
|
27 |
)
|
28 |
|
29 |
out = generator(
|
30 |
+
"I live north of liverpool in Waterloo"
|
31 |
)
|
32 |
|
33 |
entities = [item["word"] for item in out]
|
|
|
111 |
|
112 |
```python
|
113 |
>>> names
|
114 |
+
['liverpool', 'Waterloo']
|
115 |
|
116 |
>>> labels
|
117 |
['location', 'location']
|