Skip to content

Commit

Permalink
Add LT_CHANGES directory
Browse files Browse the repository at this point in the history
  • Loading branch information
p-goulart committed Jan 30, 2024
1 parent 7301bbc commit e34ca7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/dir_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def __init__(self, repo_dir: Optional[str] = None):
self.HUNSPELL_DIR = path.join(self.SPELLING_DICT_DIR, "hunspell")
self.TAGGER_DICT_DIR = path.join(self.DATA_DIR, "src-dict")
self.COMPOUNDS_DIR = path.join(self.HUNSPELL_DIR, 'compounds') # potentially used only Portuguese
self.LT_CHANGES_DIR = path.join(self.REPO_DIR, "lt-changes")

# TODO: this *may* at some point be moved here, but that depends on how much work it will be to adapt the
# shell/perl; Tagger scripts paths
Expand Down
3 changes: 2 additions & 1 deletion scripts/build_tagger_dicts.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def set_shell_env():
'RESULT_DICT_FILEPATH': DIRS.RESULT_POS_DICT_FILEPATH,
'SORTED_DICT_FILEPATH': DIRS.SORTED_POS_DICT_FILEPATH,
'DICT_DIFF_FILEPATH': DIRS.POS_DICT_DIFF_FILEPATH,
'OLD_DICT_FILEPATH': DIRS.OLD_POS_DICT_FILEPATH
'OLD_DICT_FILEPATH': DIRS.OLD_POS_DICT_FILEPATH,
'LT_CHANGES_DIR': DIRS.LT_CHANGES_DIR
}
return {**os.environ, **custom_env}

Expand Down

0 comments on commit e34ca7e

Please sign in to comment.