Matchball commited on
Commit
f0e3bb2
·
verified ·
1 Parent(s): 92e301f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -335,8 +335,11 @@ def check_text(text):
335
  r'\b\d+(?:\.\d+)?\s*degree\b': "Use ° instead of 'degree': ",
336
  r'\b\d+(?:\.\d+)?\s*percent\b': "Use % instead of 'percent': ",
337
  r'\bvacuumed\b': "Use 'evacuated' or 'under vacuum' instead of 'vacuumed': ",
 
338
  r'\b[Hh]eated\s+up\b': "Omit 'up', use 'heated': ",
339
  r'\b[Cc]ooled\s+down\b': "Omit 'down', use 'cooled': ",
 
 
340
 
341
  r'(\d)\s*x\s*(\d)': "Use × operator instead of letter x for multiplication ",
342
  r'->': "Use → instead of ->",
 
335
  r'\b\d+(?:\.\d+)?\s*degree\b': "Use ° instead of 'degree': ",
336
  r'\b\d+(?:\.\d+)?\s*percent\b': "Use % instead of 'percent': ",
337
  r'\bvacuumed\b': "Use 'evacuated' or 'under vacuum' instead of 'vacuumed': ",
338
+
339
  r'\b[Hh]eated\s+up\b': "Omit 'up', use 'heated': ",
340
  r'\b[Cc]ooled\s+down\b': "Omit 'down', use 'cooled': ",
341
+ r'\b[Ww]armed\s+up\b': "Omit 'up', use 'warmed': ",
342
+ r'\b[Aa]bsorbed\s+on\b': "Check whether 'adsorbed on' is more appropriate: ",
343
 
344
  r'(\d)\s*x\s*(\d)': "Use × operator instead of letter x for multiplication ",
345
  r'->': "Use → instead of ->",