Skip to content

Commit

Permalink
serbian models disable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jemoka committed Jan 26, 2024
1 parent 3a6b725 commit caa0edc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion batchalign/pipelines/morphosyntax/ud.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def morphoanalyze(doc: Document, status_hook:callable = None):
lang.pop(lang.index("zh"))
lang.append("zh-hans")

elif not any([i in ["hr", "zh", "zh-hans", "ja", "ko", "sl"] for i in lang]):
elif not any([i in ["hr", "zh", "zh-hans", "ja", "ko", "sl", "sr"] for i in lang]):
if "en" in lang:
config["processors"]["mwt"] = "gum"
else:
Expand Down
4 changes: 2 additions & 2 deletions batchalign/version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
0.4.0-post.3
0.4.0-post.4
Jan 26th, 2024
Slovenian MWT models
Disable Serbian MWT models

0 comments on commit caa0edc

Please sign in to comment.