Spaces:
Sleeping
Sleeping
Upload app.py
#1
by DanielGallagherIRE - opened
app.py
CHANGED
|
@@ -288,12 +288,12 @@ with gr.Blocks(theme=gr.themes.Ocean()) as demo:
|
|
| 288 |
# placeholder="Enter your GREW query here...",
|
| 289 |
value="""
|
| 290 |
pattern {
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
}
|
| 298 |
""",
|
| 299 |
language="javascript" # no option for GREW, but this is close enough
|
|
|
|
| 288 |
# placeholder="Enter your GREW query here...",
|
| 289 |
value="""
|
| 290 |
pattern {
|
| 291 |
+
V [upos="VERB"];
|
| 292 |
+
O [upos="NOUN"];
|
| 293 |
+
D [upos="DET", Case="Acc"];
|
| 294 |
+
V -[nsubj]-> S;
|
| 295 |
+
V -[obj]-> O;
|
| 296 |
+
O -[det]-> D;
|
| 297 |
}
|
| 298 |
""",
|
| 299 |
language="javascript" # no option for GREW, but this is close enough
|