News Classifier Pipeline for Turkish text

Description

This pre-trained pipeline classifies Turkish texts of news.

Live Demo Open in Colab Download Copy S3 URI

How to use

pipeline = PretrainedPipeline("classifierdl_bert_news_pipeline", lang = "tr")

result = pipeline.fullAnnotate("Bonservisi elinde olan Milli oyuncu, yeni takımıyla el sıkıştı")

result["class"]
val pipeline = new PretrainedPipeline("classifierdl_bert_news_pipeline", "tr")

val result = pipeline.fullAnnotate("Bonservisi elinde olan Milli oyuncu, yeni takımıyla el sıkıştı")(0)

Results

["Sport"]

Model Information

Model Name: classifierdl_bert_news_pipeline
Type: pipeline
Compatibility: Spark NLP 3.2.0+
License: Open Source
Edition: Official
Language: tr

Included Models

  • DocumentAssembler
  • BertSentenceEmbeddings
  • ClassifierDLModel