Spaces:
Running
Running
Update app.py
Browse files19 unmodified lines2021222324252627282919 unmodified linesst.markdown("Welcome to our analyzer. Here you can parse the parts of speech (POS) and the syntactic relationships of any ancient Greek sentence. This analysis is done by our language models trained with transformers and the NLP library spaCy. Below, you can choose which model do you want to use (each model may produce a different analysis). Documentation about the linguistic terms used by our models to annotate your sentences can be found here. If you have any questions, please contact us at diogenet@ucsd.edu")st.header("Select a model:")spacy_model = st.selectbox("", ["grc_proiel_trf","grc_proiel_lg","grc_proiel_sm","grc_perseus_trf"])st.header("Enter text:")text = st.text_area("","Ὁ μὲν δὴ Συλοσῶν ἠπίστατο τοῦτό οἱ ἀπολωλέναι διʼ εὐηθείην.")config = {"punct_chars": [".", ";", "·"]}19 unmodified lines2021222324252627282919 unmodified linesst.markdown("Welcome to our analyzer. Here you can parse the parts of speech (POS) and the syntactic relationships of any ancient Greek sentence. This analysis is done by our language models trained with transformers and the NLP library spaCy. Below, you can choose which model do you want to use (each model may produce a different analysis). Documentation about the linguistic terms used by our models to annotate your sentences can be found here. If you have any questions, please contact us at diogenet@ucsd.edu")st.header("Select a model:")spacy_model = st.selectbox("Model", ["grc_proiel_trf","grc_proiel_lg","grc_proiel_sm","grc_perseus_trf"])st.header("Enter text:")text = st.text_area("Greek text","φύσει μὲν οὖν αἴσθησιν ἔχοντα γίγνεται τὰ ζῷα, ἐκ δὲ ταύτης τοῖς μὲν αὐτῶν οὐκ ἐγγίγνεται μνήμη, τοῖς δʼ ἐγγίγνεται.")config = {"punct_chars": [".", ";", "·"]}
app.py+2-2