File size: 265 Bytes
48f405d
 
ca862e3
c41dcef
48f405d
 
 
 
 
6e2b0df
 
48f405d
1
2
3
4
5
6
7
8
9
10
11
12
import spacy_streamlit

MODELS = ["tr_spacy_demo"]
DEFAULT_TEXT = "Taner 1965 yılında Konya şehrinde doğdu."
VISUALIZERS = ["parser", "ner", "tokens"]

spacy_streamlit.visualize(
    MODELS, 
    DEFAULT_TEXT, 
    VISUALIZERS,
    show_visualizer_select=True
)