Skip to content

No public description #432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions nisaba/scripts/utils/grammars.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ def nisaba_compile_script_lang_multi_grm_py(
for script, lang in script_langs:
# Generates copies of the .py with different flag value defaults for each
# script, language and token-type values.
# Example: reading_norm_utf8.Deva.hi.py.
out_py_file = "%s.%s.%s.py" % (name_token_type, script, lang)
# Example: reading_norm_utf8_Deva_hi.py.
out_py_file = "%s_%s_%s.py" % (name_token_type, script, lang)
native.genrule(
name = "make_%s" % out_py_file,
srcs = ["%s.py" % name],
Expand All @@ -170,6 +170,7 @@ def nisaba_compile_script_lang_multi_grm_py(
lang_dir = "%s/%s" % (script_dir, lang)
nisaba_compile_grm_py(
name = "%s.%s.%s" % (name_token_type, script, lang),
src = out_py_file,
data = data + [
"%s:%s.tsv" % (lang_dir, entry)
for entry in data_per_lang
Expand Down
Loading