Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1979,16 +1979,23 @@ custom_css = """
|
|
| 1979 |
with gr.Blocks(title="Syntactic Sentence Simplifier") as demo:
|
| 1980 |
gr.Markdown("# Syntactic Sentence Simplifier")
|
| 1981 |
gr.Markdown(
|
| 1982 |
-
"
|
| 1983 |
-
|
| 1984 |
-
|
| 1985 |
-
|
| 1986 |
-
|
| 1987 |
-
|
| 1988 |
-
|
| 1989 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1990 |
)
|
| 1991 |
|
|
|
|
| 1992 |
# 1) Complex input
|
| 1993 |
input_text = gr.Textbox(
|
| 1994 |
lines=12,
|
|
|
|
| 1979 |
with gr.Blocks(title="Syntactic Sentence Simplifier") as demo:
|
| 1980 |
gr.Markdown("# Syntactic Sentence Simplifier")
|
| 1981 |
gr.Markdown(
|
| 1982 |
+
"""
|
| 1983 |
+
This demo simplifies sentences containing compound constituents:
|
| 1984 |
+
|
| 1985 |
+
* clauses
|
| 1986 |
+
* verb phrases
|
| 1987 |
+
* noun phrases
|
| 1988 |
+
|
| 1989 |
+
and complex noun phrases modified by:
|
| 1990 |
+
|
| 1991 |
+
* nominally bound non-restrictive finite relative clauses (subject relativised and verb/preposition object relativised)
|
| 1992 |
+
|
| 1993 |
+
Paste text, or click examples to **add** them into the box below
|
| 1994 |
+
(you can edit the text afterwards).
|
| 1995 |
+
"""
|
| 1996 |
)
|
| 1997 |
|
| 1998 |
+
|
| 1999 |
# 1) Complex input
|
| 2000 |
input_text = gr.Textbox(
|
| 2001 |
lines=12,
|