Update README.md
Browse files
README.md
CHANGED
|
@@ -45,8 +45,9 @@ labels = ['username', 'google_gaid', 'ip_address', 'user_agent', 'country']
|
|
| 45 |
entities = model.predict_entities(text, labels, threshold=0.3)
|
| 46 |
for entity in entities[0]:
|
| 47 |
print(entity["text"], "=>", entity["label"] , "=>", entity["score"])
|
|
|
|
| 48 |
|
| 49 |
-
|
| 50 |
35 . 172 . 110 . 45 => ip_address => 0.458984375
|
| 51 |
United States => country => 0.404296875
|
| 52 |
United States => country => 0.33203125
|
|
|
|
| 45 |
entities = model.predict_entities(text, labels, threshold=0.3)
|
| 46 |
for entity in entities[0]:
|
| 47 |
print(entity["text"], "=>", entity["label"] , "=>", entity["score"])
|
| 48 |
+
```
|
| 49 |
|
| 50 |
+
```
|
| 51 |
35 . 172 . 110 . 45 => ip_address => 0.458984375
|
| 52 |
United States => country => 0.404296875
|
| 53 |
United States => country => 0.33203125
|