Skip to content
Snippets Groups Projects
Commit 7d782110 authored by Kasia Krasnowska's avatar Kasia Krasnowska
Browse files

import ‘unk’ frame opinions as ‘cer’

parent bb8fba5c
Branches
Tags
No related merge requests found
......@@ -29,6 +29,8 @@ class Frame:
arguments = {}
id = frame_tree._attrs['xml:id']
opinion = frame_tree._children[0]._children[0]._attrs['value']
if opinion == 'unk':
opinion = 'cer'
meanings = [meaning._attrs['sameAs'][1:] for meaning in frame_tree._children[1]._children[0]._children]
for argument_tree in frame_tree._children[2]._children[0]._children:
argument = Argument.fromTree(argument_tree)
......
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