Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -89,9 +89,10 @@ if input_text:
|
|
89 |
doc = nlp_lat(predicted_text)
|
90 |
print(doc)
|
91 |
st.write(f"Frase {i}: {predicted_text}")
|
|
|
92 |
for w in doc.words:
|
93 |
st.write(
|
94 |
-
f"- **Token**: {w.
|
95 |
f" - Lemma: {w.lemma}\n"
|
96 |
f" - UPOS: {w.upos}\n"
|
97 |
f" - Morph: {w.feats}\n"
|
|
|
89 |
doc = nlp_lat(predicted_text)
|
90 |
print(doc)
|
91 |
st.write(f"Frase {i}: {predicted_text}")
|
92 |
+
|
93 |
for w in doc.words:
|
94 |
st.write(
|
95 |
+
f"- **Token**: {w.string}\n"
|
96 |
f" - Lemma: {w.lemma}\n"
|
97 |
f" - UPOS: {w.upos}\n"
|
98 |
f" - Morph: {w.feats}\n"
|