Update README.md
Browse files
README.md
CHANGED
|
@@ -41,7 +41,7 @@ Download https://huggingface.co/LKriesch/LLAMA_fast_geotag/tree/main/spacy_lg_ge
|
|
| 41 |
```
|
| 42 |
import spacy
|
| 43 |
nlp=spacy.load("path_to_model")
|
| 44 |
-
text="Das
|
| 45 |
doc=nlp(text)
|
| 46 |
for ent in doc.ents:
|
| 47 |
print(f"Entity: {ent.text}, Label: {ent.label_}")
|
|
|
|
| 41 |
```
|
| 42 |
import spacy
|
| 43 |
nlp=spacy.load("path_to_model")
|
| 44 |
+
text="Das Olympiastadion steht in Berlin."
|
| 45 |
doc=nlp(text)
|
| 46 |
for ent in doc.ents:
|
| 47 |
print(f"Entity: {ent.text}, Label: {ent.label_}")
|