Julien Chaumond commited on
Commit
debc0b7
1 Parent(s): ec1050c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -16,7 +16,9 @@ Imported from https://nlp.informatik.hu-berlin.de/resources/models/ner/
16
  from flair.data import Sentence
17
  from flair.models import SequenceTagger
18
 
19
- sentence = Sentence("My name is Julien, I currently live in Paris, I work at Hugging Face, Inc.")
 
 
20
 
21
  tagger = SequenceTagger.load("julien-c/flair-ner")
22
 
@@ -33,7 +35,8 @@ print(sentence.to_tagged_string())
33
  yields the following output:
34
 
35
  ```
36
- My name is Julien <S-PER> , I currently live in Paris <S-LOC> , I work at Hugging <B-LOC> Face <E-LOC> .
 
37
  ```
38
 
39
  ### Thanks [@stefan-it](https://huggingface.co/stefan-it) for the Flair integration ❤️ 🔥
16
  from flair.data import Sentence
17
  from flair.models import SequenceTagger
18
 
19
+ sentence = Sentence(
20
+ "My name is Julien, I currently live in Paris, I work at Hugging Face, Inc."
21
+ )
22
 
23
  tagger = SequenceTagger.load("julien-c/flair-ner")
24
 
35
  yields the following output:
36
 
37
  ```
38
+ My name is Julien <S-PER> , I currently live in Paris <S-LOC> ,
39
+ I work at Hugging <B-LOC> Face <E-LOC> .
40
  ```
41
 
42
  ### Thanks [@stefan-it](https://huggingface.co/stefan-it) for the Flair integration ❤️ 🔥