GGroenendaal commited on
Commit
90fe7fe
1 Parent(s): 081d5bf

rename args

Browse files
Files changed (1) hide show
  1. base_model/evaluate.py +2 -2
base_model/evaluate.py CHANGED
@@ -3,8 +3,8 @@ from typing import Callable, List
3
  from base_model.string_utils import lower, remove_articles, remove_punc, white_space_fix
4
 
5
 
6
- def normalize_text(inp: str, functions: List[Callable[[str], str]]):
7
- for fun in functions:
8
  inp = fun(inp)
9
  return inp
10
 
 
3
  from base_model.string_utils import lower, remove_articles, remove_punc, white_space_fix
4
 
5
 
6
+ def normalize_text(inp: str, preprocessing_functions: List[Callable[[str], str]]):
7
+ for fun in preprocessing_functions:
8
  inp = fun(inp)
9
  return inp
10