Skip to content

Commit

Permalink
ignore warnings on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jemoka committed Jan 30, 2025
1 parent 4e3bc09 commit 51f91fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion batchalign/pipelines/morphosyntax/ud.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,8 @@ def morphoanalyze(doc: Document, retokenize:bool, status_hook:callable = None, *
content.dependency = form.dependency

except Exception as e:
warnings.warn(f"Utterance failed parsing, skipping ud tagging... line='{line}', error='{e}'.\n")
pass
# warnings.warn(f"Utterance failed parsing, skipping ud tagging... line='{line}', error='{e}'.\n")

L.debug("Stanza done.")
return doc
Expand Down
6 changes: 3 additions & 3 deletions batchalign/version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
0.7.10-post.4
Janurary 28th, 2025
numbers
0.7.10-post.5
Janurary 29th, 2025
skipping warnings

0 comments on commit 51f91fc

Please sign in to comment.