Redmine #2198: Limited wani to "collocation" type structures
This commit is contained in:
parent
39692e839f
commit
d0bec69fd8
|
@ -115,7 +115,7 @@ def build_structures(args):
|
||||||
|
|
||||||
structures = []
|
structures = []
|
||||||
for structure in et.iter('syntactic_structure'):
|
for structure in et.iter('syntactic_structure'):
|
||||||
if structure.attrib['type'] == 'single':
|
if structure.attrib['type'] != 'collocation':
|
||||||
continue
|
continue
|
||||||
to_append = SyntacticStructure.from_xml(structure, no_stats)
|
to_append = SyntacticStructure.from_xml(structure, no_stats)
|
||||||
if to_append is None:
|
if to_append is None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user