Update README.md
Browse files
README.md
CHANGED
@@ -12,7 +12,7 @@ Requires:
|
|
12 |
|
13 |
```python
|
14 |
from flair.data import Sentence
|
15 |
-
from flair.models import PrefixedSequenceTagger
|
16 |
|
17 |
# load tagger
|
18 |
tagger = PrefixedSequenceTagger.load("hunflair/hunflair2-ner")
|
|
|
12 |
|
13 |
```python
|
14 |
from flair.data import Sentence
|
15 |
+
from flair.models.prefixed_tagger import PrefixedSequenceTagger
|
16 |
|
17 |
# load tagger
|
18 |
tagger = PrefixedSequenceTagger.load("hunflair/hunflair2-ner")
|