regel-corpus
commited on
Commit
•
d2a1aab
1
Parent(s):
b25a50c
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -40,7 +40,7 @@ from flair.tokenization import SciSpacyTokenizer
|
|
40 |
text = "The upstream region of the glnA gene contained two putative extended promoter consensus sequences (p1 and p2)."
|
41 |
sentence = Sentence(text, use_tokenizer=SciSpacyTokenizer())
|
42 |
|
43 |
-
tagger = Classifier.load("regel-corpus/hunflair2-regel-
|
44 |
tagger.predict(sentence)
|
45 |
|
46 |
print('The following NER tags are found:')
|
|
|
40 |
text = "The upstream region of the glnA gene contained two putative extended promoter consensus sequences (p1 and p2)."
|
41 |
sentence = Sentence(text, use_tokenizer=SciSpacyTokenizer())
|
42 |
|
43 |
+
tagger = Classifier.load("regel-corpus/hunflair2-regel-promoter")
|
44 |
tagger.predict(sentence)
|
45 |
|
46 |
print('The following NER tags are found:')
|