-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -962,6 +962,7 @@ $(TRANSLATIONSDIR)/{{ translation.id }}-preprocessed.babelon.tsv: $(TRANSLATIONS | |
--output-not-translated $(TRANSLATIONSDIR)/{{ translation.id }}-not-translated.babelon.tsv \ | ||
--include-not-translated {{ translation.include_not_translated|default('false') }} \ | ||
--update-translation-status {{ translation.update_translation_status|default('true') }} \ | ||
--drop-unknown-columns {{ translation.drop_unknown_columns|default('true') }} \ | ||
-o $@{% if translation.auto_translate %} | ||
echo "Warning: By default, the toolkit employs LLM-mediated translations using the OpenAI API. This default may change at any time" | ||
echo "Warning: Never store API keys or other secrets in Makefiles or scripts you have in version control." | ||
|
@@ -983,7 +984,7 @@ $(TRANSLATIONSDIR)/%.synonyms.owl: $(TRANSLATIONSDIR)/%.synonyms.tsv | |
.PRECIOUS: $(TRANSLATIONSDIR)/%.synonyms.owl | ||
|
||
$(TRANSLATIONSDIR)/%.babelon.owl: $(TRANSLATIONSDIR)/%-preprocessed.babelon.tsv | ||
$(BABELONPY) convert $(TMPDIR)/$*.babelon.tsv --output-format owl -o [email protected] | ||
$(BABELONPY) convert $< --output-format owl -o [email protected] | ||
$(ROBOT) merge -i [email protected] \ | ||
annotate \ | ||
--ontology-iri $(ONTBASE)/translations/$*.babelon.owl \ | ||
|