HuggingFaceM4/WebSight
Viewer • Updated • 2.75M • 12.2k • 400
How to use eugeneframesi/Morphosis with Flair:
from flair.data import Sentence
from flair.models import SequenceTagger
tagger = SequenceTagger.load("eugeneframesi/Morphosis")
sentence = Sentence("George Washington went to Washington.")
tagger.predict(sentence)
print(sentence)