Beracles commited on
Commit
441eef9
·
1 Parent(s): 18bfb47

unify case

Browse files
Files changed (1) hide show
  1. cache.py +1 -0
cache.py CHANGED
@@ -6,6 +6,7 @@ cache_ai = {}
6
 
7
 
8
  def normalize_text(text: str) -> str:
 
9
  tmp = text.split(" ")
10
  tmp = [word for word in tmp if word != ""]
11
  return " ".join(tmp)
 
6
 
7
 
8
  def normalize_text(text: str) -> str:
9
+ text = text.lower()
10
  tmp = text.split(" ")
11
  tmp = [word for word in tmp if word != ""]
12
  return " ".join(tmp)