def test_validation(self): assert validation.is_valid(PolyglotPipeline.process(text, ))
def test_validation(self): assert validation.is_valid(FlairPipeline.process(text, lang='en'))
def test_validation_bpe(self): assert validation.is_valid( FlairPipeline.process(text, lang='en', bpe_size=50))
def test_validation_chars(self): assert validation.is_valid( FlairPipeline.process(text, lang='en', char_embeddings=True))
def test_validation_default(self): assert validation.is_valid( FlairPipeline.process(text, lang='en', use_embeddings='default'))