RJ3vans commited on
Commit
4f0d378
·
verified ·
1 Parent(s): 5f51b07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -0
app.py CHANGED
@@ -2000,9 +2000,32 @@ with gr.Blocks(title="Syntactic Sentence Simplifier") as demo:
2000
  # Examples / clear (under the whole stack, or under input if you prefer)
2001
  EXAMPLE_SENTENCES = [
2002
  "John kicked the ball and walked to Leeds.",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2003
  "John is one test, Mary, who lives in London, loves exams, and Bill eats bread.",
2004
  "John went to Wolverhampton, Bill set out for Coventry, and Mary returned from Birmingham.",
2005
  "John, who lives in London, is going to Wolverhampton, and Mary, who is a bit nervous, adores Birmingham.",
 
 
 
2006
  "The Environment Agency said record winter rainfall had helped to replenish reservoirs and groundwater, but reservoir storage has now fallen to 7.4% below the average for this time of year.",
2007
  ]
2008
 
 
2000
  # Examples / clear (under the whole stack, or under input if you prefer)
2001
  EXAMPLE_SENTENCES = [
2002
  "John kicked the ball and walked to Leeds.",
2003
+ "John bought two apples and three oranges.",
2004
+ "John left early and Mary stayed late.",
2005
+ "John, who lives in London, went home.",
2006
+ "Peter, who Sam likes, went home.",
2007
+ "Fred bought a computer and a printer and switched them on.",
2008
+ "Fred bought a computer and a printer, and Mary bought a PS5.",
2009
+ "Mary, who lives in London, went home, and Peter stayed.",
2010
+ "John, who kicked the ball and walked away, went home.",
2011
+ "John, who bought a computer and a printer, went home.",
2012
+ "John, who Steven tolerated and who mary despised, went home.",
2013
+ "John, who lives in Shifnal, which is a town in the Black Country, went home.",
2014
+ "Mary, who lives in London, kicked the ball and walked to Leeds, and John stayed home.",
2015
+ "Jackie, who lives in Manchester, bought a computer and a monitor, and Fred bought bread.",
2016
+ "Count Binface bought two apples and three pears and ate them, and Nigel left.",
2017
+ "Count Binface, who bought two apples and three pears and ate them, went home.",
2018
+ "Hadric Wode, who bought a mace and a shield and used them, left early, and Fenric, who was tired, stayed home.",
2019
+ "John is one candidate, Mary ignores signals, and Bill eats grass.",
2020
+ "John went to Essex, Bill set out for Sussex, and Mary returned from Halifax.",
2021
+ "Joshua told me that John, who lives in New York, is going to London, Jack loves Norwich, and Mary, who is extremely confident, adores Milton Keynes, just as Fred predicted.",
2022
+ "John kicked the ball and walked to Leeds, and Peter stayed home.",
2023
  "John is one test, Mary, who lives in London, loves exams, and Bill eats bread.",
2024
  "John went to Wolverhampton, Bill set out for Coventry, and Mary returned from Birmingham.",
2025
  "John, who lives in London, is going to Wolverhampton, and Mary, who is a bit nervous, adores Birmingham.",
2026
+ "John kicked the ball and walked to Leeds. Mary bought a laptop and a mousemat.",
2027
+ "I love France.",
2028
+ "John met the dog, the cat, and the tortoise.",
2029
  "The Environment Agency said record winter rainfall had helped to replenish reservoirs and groundwater, but reservoir storage has now fallen to 7.4% below the average for this time of year.",
2030
  ]
2031