Skip to content
Snippets Groups Projects
Commit 4c9a546b authored by Paweł Walkowiak's avatar Paweł Walkowiak
Browse files

Add logs

parent 840a9853
Branches
1 merge request!13Fix anonymizer errors
Pipeline #15162 passed with stages
in 1 minute and 41 seconds
......@@ -96,6 +96,13 @@ class NERFileMorphosyntacticDictionary(MorphosyntacticDictionary):
if original_entry_type_name in self._dictionary:
entry_type = original_entry_type_name
_log.info(f"IndexError entry_type "
f"{entry_type} morpho_tag {morpho_tag}")
if entry_type in self._dictionary:
_log.info(
f"Dictionary\
{self._dictionary[entry_type][morpho_tag]}"
)
try:
if entry_type in self._dictionary \
and morpho_tag in self._dictionary[entry_type] \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment