Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1289,9 +1289,9 @@ def CompoundSimplify(xml_sent):
|
|
| 1289 |
|
| 1290 |
if s and not s.endswith((".", "!", "?")):
|
| 1291 |
s += "."
|
| 1292 |
-
|
| 1293 |
-
|
| 1294 |
-
|
| 1295 |
|
| 1296 |
|
| 1297 |
sent1 = tidy(sent1)
|
|
|
|
| 1289 |
|
| 1290 |
if s and not s.endswith((".", "!", "?")):
|
| 1291 |
s += "."
|
| 1292 |
+
if s:
|
| 1293 |
+
s = s[0].upper() + s[1:]
|
| 1294 |
+
return s
|
| 1295 |
|
| 1296 |
|
| 1297 |
sent1 = tidy(sent1)
|