hylee
commited on
Commit
·
231b56f
1
Parent(s):
e162c68
fix type
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -361,7 +361,7 @@ def load_math_terms():
|
|
361 |
math_terms = []
|
362 |
math_terms_dict = {}
|
363 |
for term in MATH_WORDS:
|
364 |
-
|
365 |
math_terms.append(f"(^|[^a-zA-Z]){term}(s|es)?([^a-zA-Z]|$)")
|
366 |
# if term in MATH_PREFIXES:
|
367 |
# math_terms_dict[f"(^|[^a-zA-Z]){term}(s|es)?([^a-zA-Z]|$)"] = term
|
|
|
361 |
math_terms = []
|
362 |
math_terms_dict = {}
|
363 |
for term in MATH_WORDS:
|
364 |
+
math_terms_dict[f"(^|[^a-zA-Z]){term}(s|es)?([^a-zA-Z]|$)"] = term
|
365 |
math_terms.append(f"(^|[^a-zA-Z]){term}(s|es)?([^a-zA-Z]|$)")
|
366 |
# if term in MATH_PREFIXES:
|
367 |
# math_terms_dict[f"(^|[^a-zA-Z]){term}(s|es)?([^a-zA-Z]|$)"] = term
|