Spaces:
Running
Running
Commit ·
fad7f76
1
Parent(s): 7b0fc69
Update diacritics demo: add model attribution, simplify About text
Browse filesCo-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pages/10_diacritics_demo.py
CHANGED
|
@@ -56,7 +56,7 @@ st.title("Greek Diacritics Restorer")
|
|
| 56 |
st.markdown(
|
| 57 |
"Restore polytonic diacritics to undiacriticized Ancient Greek text "
|
| 58 |
"using a character-level [CANINE-S](https://huggingface.co/google/canine-s) transformer, "
|
| 59 |
-
"powered by [latincy-diacritics](https://
|
| 60 |
)
|
| 61 |
|
| 62 |
tab1, tab2, tab3 = st.tabs(["Restore", "Evaluate", "About"])
|
|
@@ -215,11 +215,10 @@ with tab3:
|
|
| 215 |
|
| 216 |
### The Diacritics Problem
|
| 217 |
|
| 218 |
-
Ancient Greek
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
from OCR, plain-text corpora, or keyboard input — lack these diacritics.
|
| 223 |
|
| 224 |
This tool automatically restores polytonic diacritics using a trained
|
| 225 |
character-level transformer.
|
|
@@ -249,5 +248,6 @@ with tab3:
|
|
| 249 |
|
| 250 |
### Source
|
| 251 |
|
| 252 |
-
|
|
|
|
| 253 |
""")
|
|
|
|
| 56 |
st.markdown(
|
| 57 |
"Restore polytonic diacritics to undiacriticized Ancient Greek text "
|
| 58 |
"using a character-level [CANINE-S](https://huggingface.co/google/canine-s) transformer, "
|
| 59 |
+
"powered by [latincy-diacritics v0.1.0](https://huggingface.co/latincy/latincy-diacritics)."
|
| 60 |
)
|
| 61 |
|
| 62 |
tab1, tab2, tab3 = st.tabs(["Restore", "Evaluate", "About"])
|
|
|
|
| 215 |
|
| 216 |
### The Diacritics Problem
|
| 217 |
|
| 218 |
+
Ancient Greek in its polytonic form uses breathing marks, accents, iota
|
| 219 |
+
subscripts, and diaeresis. Some digital texts lack these diacritics —
|
| 220 |
+
whether stripped for NLP processing, stored in monotonic form, or
|
| 221 |
+
entered without a polytonic keyboard.
|
|
|
|
| 222 |
|
| 223 |
This tool automatically restores polytonic diacritics using a trained
|
| 224 |
character-level transformer.
|
|
|
|
| 248 |
|
| 249 |
### Source
|
| 250 |
|
| 251 |
+
- **Model:** [latincy-diacritics v0.1.0](https://huggingface.co/latincy/latincy-diacritics) on Hugging Face
|
| 252 |
+
- **Code:** [latincy-diacritics](https://github.com/diyclassics/latincy-diacritics) on GitHub
|
| 253 |
""")
|