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

Fix deletion

parent 9e89974b
1 merge request!13Fix anonymizer errors
Pipeline #15249 passed with stages
in 1 minute and 39 seconds
......@@ -119,6 +119,9 @@ class NERFileMorphosyntacticDictionary(MorphosyntacticDictionary):
list(letters), size)).upper()
word = lemma
else:
morpho_tag = random.choice(
list(self._dictionary[entry_type].keys())
)
lemma = random.choice(
list(
self._dictionary[entry_type][morpho_tag].keys()
......
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