From d0bec69fd8a4f4b9116ffb660400c357d9c4e6fc Mon Sep 17 00:00:00 2001 From: Cyprian Laskowski Date: Fri, 3 Dec 2021 15:23:29 +0100 Subject: [PATCH] Redmine #2198: Limited wani to "collocation" type structures --- luscenje_struktur/syntactic_structure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luscenje_struktur/syntactic_structure.py b/luscenje_struktur/syntactic_structure.py index e888f6d..8fdfccb 100644 --- a/luscenje_struktur/syntactic_structure.py +++ b/luscenje_struktur/syntactic_structure.py @@ -115,7 +115,7 @@ def build_structures(args): structures = [] for structure in et.iter('syntactic_structure'): - if structure.attrib['type'] == 'single': + if structure.attrib['type'] != 'collocation': continue to_append = SyntacticStructure.from_xml(structure, no_stats) if to_append is None: