slightly changed subcorpora table, using markdown instead of pandas dataframe
Browse files
app.py
CHANGED
@@ -434,7 +434,7 @@ if selected == "FAQ":
|
|
434 |
Homer to the early fifth century AD) compiled for linguistic analyses’ (Vatri & McGillivray \
|
435 |
2018: 55). The Diorisis corpus contains a subset of the texts that can be found in the \
|
436 |
Thesaurus Linguae Graecae. More information about the works and authors included in each \
|
437 |
-
subcorpus is
|
438 |
, unsafe_allow_html=True)
|
439 |
|
440 |
|
@@ -571,48 +571,19 @@ if selected == "FAQ":
|
|
571 |
|
572 |
if selected == "Subcorpora":
|
573 |
st.markdown("""
|
574 |
-
|
575 |
-
table td:nth-child(1) {
|
576 |
-
display: none
|
577 |
-
}
|
578 |
-
table th:nth-child(1) {
|
579 |
-
display: none
|
580 |
-
}
|
581 |
-
</style>
|
582 |
-
## Subcorpora
|
583 |
-
""", unsafe_allow_html=True)
|
584 |
-
|
585 |
-
|
586 |
-
# Create the data as a dictionary
|
587 |
-
data = {
|
588 |
-
"Time Slice": [
|
589 |
-
"Archaic (Homer-500 BCE)",
|
590 |
-
"Classical (499-324 BCE)",
|
591 |
-
"Hellenistic (323-31 BCE)",
|
592 |
-
"Early Roman (30 BCE-250 CE)",
|
593 |
-
"Late Roman (251-500 CE)"
|
594 |
-
],
|
595 |
-
"Tokens": [
|
596 |
-
"229,999",
|
597 |
-
"2,628,193",
|
598 |
-
"1,471,917",
|
599 |
-
"4,900,879",
|
600 |
-
"753,907"
|
601 |
-
],
|
602 |
-
"Authors/Texts": [
|
603 |
-
"Homer, Hesiod, Shield of Heracles, 34 Homeric hymns.",
|
604 |
-
"Andocides, Aeneas Tacticus, Antiphon, Aeschines, Aeschylus, Aristophanes, Aristotle, Demosthenes, Demades, Euripides, Herodotus, Hippocrates, Hyperides, Isaeus, Isocrates, Lycurgus, Lysias, Pindar, Plato, Sophocles, Thucydides, Xenophon.",
|
605 |
-
"Apollonius Rhodius, Aratus, Asclepiodotus, Callimachus, Bion of Phlossa, Demetrius, Against Dionysodorus (Demosthenes), Dinarchus, Diodorus, Euclides, Hyperides, Moschus, Lycophron, Septuaginta, Polybius, Theocritus, Theophrastus.",
|
606 |
-
"Achilles Tatius, Aelian, Appian, Agathemerus, Aelius Aristides, Aretaeus, Arrian, Athenaeus, Barnabas, Cassius Dio, Clement of Alexandria, Claudius Ptolemy, Chariton, Dio Chrysostom, Diogenes Laertius, Dionysius of Halicarnassus, Epictetus, Flavius Josephus, Harpocration, Galen, Lucian, Longinus, Longus, New Testament, Marcus Aurelius, Oppian, Oppian of Apamaea, Onasander, Philostratus the Athenian, Philostratus the Younger, Parthenius of Nicaea, Pausanias, Philostratus of Lemnos, Plutarch, Pseudo Apollodorus, Pseudo-Aristides, Pseudo-Plutarch, Second Alcibiades, Strabo, Triphiodorus, Xenophon of Ephesus.",
|
607 |
-
"Callistratus, Basilius, Eusebius of Caesarea, Julian the Emperor, Nonnus, Plotinus, Quintus Smyrnaeus."
|
608 |
-
]
|
609 |
-
}
|
610 |
|
611 |
-
|
612 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
613 |
|
614 |
-
# Display the DataFrame in Streamlit
|
615 |
-
st.table(df)
|
616 |
if selected == "License":
|
617 |
st.markdown("""
|
618 |
## License
|
|
|
434 |
Homer to the early fifth century AD) compiled for linguistic analyses’ (Vatri & McGillivray \
|
435 |
2018: 55). The Diorisis corpus contains a subset of the texts that can be found in the \
|
436 |
Thesaurus Linguae Graecae. More information about the works and authors included in each \
|
437 |
+
subcorpus is provided in the 'Subcorpora' tab in the menu on the left..'''
|
438 |
, unsafe_allow_html=True)
|
439 |
|
440 |
|
|
|
571 |
|
572 |
if selected == "Subcorpora":
|
573 |
st.markdown("""
|
574 |
+
## Subcorpora
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
575 |
|
576 |
+
| Time Slice | Tokens | Authors/Texts |
|
577 |
+
|--------------------------|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
578 |
+
| Archaic (Homer-500 BCE) | 229,999 | Homer, Hesiod, *Shield of Heracles*, 34 Homeric hymns. |
|
579 |
+
| Classical (499-324 BCE) | 2,628,193 | Andocides, Aeneas Tacticus, Antiphon, Aeschines, Aeschylus, Aristophanes, Aristotle, Demosthenes, Demades, Euripides, Herodotus, Hippocrates, Hyperides, Isaeus, Isocrates, Lycurgus, Lysias, Pindar, Plato, Sophocles, Thucydides, Xenophon. |
|
580 |
+
| Hellenistic (323-31 BCE) | 1,471,917 | Apollonius Rhodius, Aratus, Asclepiodotus, Callimachus, Bion of Phlossa, Demetrius, *Against Dionysodorus* (Demosthenes), Dinarchus, Diodorus, Euclides, Hyperides, Moschus, Lycophron, Septuaginta, Polybius, Theocritus, Theophrastus. |
|
581 |
+
| Early Roman (30 BCE-250 CE) | 4,900,879 | Achilles Tatius, Aelian, Appian, Agathemerus, Aelius Aristides, Aretaeus, Arrian, Athenaeus, Barnabas, Cassius Dio, Clement of Alexandria, Claudius Ptolemy, Chariton, Dio Chrysostom, Diogenes Laertius, Dionysius of Halicarnassus, Epictetus, Flavius Josephus, Harpocration, Galen, Lucian, Longinus, Longus, New Testament, Marcus Aurelius, Oppian, Oppian of Apamaea, Onasander, Philostratus the Athenian, Philostratus the Younger, Parthenius of Nicaea, Pausanias, Philostratus of Lemnos, Plutarch, Pseudo Apollodorus, Pseudo-Aristides, Pseudo-Plutarch, *Second Alcibiades*, Strabo, Triphiodorus, Xenophon of Ephesus. |
|
582 |
+
| Late Roman (251-500 CE) | 753,907 | Callistratus, Basilius, Eusebius of Caesarea, Julian the Emperor, Nonnus, Plotinus, Quintus Smyrnaeus. |
|
583 |
+
|
584 |
+
""", unsafe_allow_html=True)
|
585 |
+
|
586 |
|
|
|
|
|
587 |
if selected == "License":
|
588 |
st.markdown("""
|
589 |
## License
|