|
@@ -250,6 +250,7 @@
|
|
"def normalize_text(text):\n",
|
|
"def normalize_text(text):\n",
|
|
" text = text.lower()\n",
|
|
" text = text.lower()\n",
|
|
" text = re.sub(\"[^A-Za-z0-9\\s]\", \"\", text)\n",
|
|
" text = re.sub(\"[^A-Za-z0-9\\s]\", \"\", text)\n",
|
|
|
|
+ " text = re.sub(\"\\s+\", \" \", text)\n",
|
|
" return text\n",
|
|
" return text\n",
|
|
"\n",
|
|
"\n",
|
|
"def normalize_values(text):\n",
|
|
"def normalize_values(text):\n",
|