Commit 1757f34f59610b6f4460ea80d783a29852be384e
1 parent
6a2251a8
Fix create_TEI_walenty script.
Showing
1 changed file
with
1 additions
and
1 deletions
dictionary/management/commands/create_TEI_walenty.py
... | ... | @@ -144,7 +144,7 @@ class Command(BaseCommand): |
144 | 144 | |
145 | 145 | def print_statistics_by_pos(self, lemmas): |
146 | 146 | for pos in POS.objects.all(): |
147 | - pos_lemmas = lemmas.filter(entry_obj__tag=pos) | |
147 | + pos_lemmas = lemmas.filter(entry_obj__pos=pos) | |
148 | 148 | if pos_lemmas.exists(): |
149 | 149 | count = {'frames': 0, |
150 | 150 | 'arguments': 0} |
... | ... |