How to use from the
Use from the
Flair library
from flair.data import Sentence
from flair.models import SequenceTagger

tagger = SequenceTagger.load("razaobj/ttc")

sentence = Sentence("George Washington went to Washington.")
tagger.predict(sentence)
print(sentence)