1 Commits
Author SHA1 Message Date
cyp d0bec69fd8 Redmine #2198: Limited wani to "collocation" type structures 2021-12-03 15:23:29 +01:00
+1 -1
View File
@@ -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: