Skip to content

Commit

Permalink
🤖🧹 reformat Python files [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados authored and github-actions[bot] committed Nov 19, 2024
1 parent bb88751 commit 0a0d3d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/morphodict/phrase_translate/to_target/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
def inflect_target_language_phrase(analysis, lemma_definition):
if isinstance(analysis, tuple):
analysis = RichAnalysis(analysis)
cree_wordform_tag_list = analysis.prefix_tags + analysis.suffix_tags + settings.DEFAULT_TARGET_LANGUAGE_PHRASE_TAGS
cree_wordform_tag_list = (
analysis.prefix_tags
+ analysis.suffix_tags
+ settings.DEFAULT_TARGET_LANGUAGE_PHRASE_TAGS
)

if "+N" in cree_wordform_tag_list:
tags_for_phrase = noun_wordform_to_phrase.map_tags(cree_wordform_tag_list)
Expand Down

0 comments on commit 0a0d3d7

Please sign in to comment.