changes in testing 2 037aa2f
Jenny Pereira commited on
How to use Jecenia/anglicism-custom-handler with Flair:
from flair.data import Sentence
from flair.models import SequenceTagger
tagger = SequenceTagger.load("Jecenia/anglicism-custom-handler")
sentence = Sentence("George Washington went to Washington.")
tagger.predict(sentence)
print(sentence)