sashtech commited on
Commit
af8de4e
·
verified ·
1 Parent(s): 92857f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -67,8 +67,6 @@ def capitalize_sentences_and_nouns(text):
67
 
68
  return ' '.join(corrected_text)
69
 
70
- # Function to force capitalization of the first letter of every sentence
71
- # Function to force capitalization of the first letter of every sentence and add missing full stops
72
  # Function to force capitalization of the first letter of every sentence and ensure full stops
73
  def force_first_letter_capital(text):
74
  sentences = re.split(r'(?<=\w[.!?])\s+', text) # Split based on sentence-ending punctuation
 
67
 
68
  return ' '.join(corrected_text)
69
 
 
 
70
  # Function to force capitalization of the first letter of every sentence and ensure full stops
71
  def force_first_letter_capital(text):
72
  sentences = re.split(r'(?<=\w[.!?])\s+', text) # Split based on sentence-ending punctuation