File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ def nisaba_compile_script_lang_multi_grm_py(
150
150
for script , lang in script_langs :
151
151
# Generates copies of the .py with different flag value defaults for each
152
152
# script, language and token-type values.
153
- # Example: reading_norm_utf8.Deva.hi .py.
154
- out_py_file = "%s.%s. %s.py" % (name_token_type , script , lang )
153
+ # Example: reading_norm_utf8_Deva_hi .py.
154
+ out_py_file = "%s_%s_ %s.py" % (name_token_type , script , lang )
155
155
native .genrule (
156
156
name = "make_%s" % out_py_file ,
157
157
srcs = ["%s.py" % name ],
@@ -170,6 +170,7 @@ def nisaba_compile_script_lang_multi_grm_py(
170
170
lang_dir = "%s/%s" % (script_dir , lang )
171
171
nisaba_compile_grm_py (
172
172
name = "%s.%s.%s" % (name_token_type , script , lang ),
173
+ src = out_py_file ,
173
174
data = data + [
174
175
"%s:%s.tsv" % (lang_dir , entry )
175
176
for entry in data_per_lang
You can’t perform that action at this time.
0 commit comments