lib/opener/kaf/document.rb in opener-chained-daemon-3.3.16 vs lib/opener/kaf/document.rb in opener-chained-daemon-3.3.17
- old
+ new
@@ -54,10 +54,11 @@
sent: params.sid,
para: params.para,
offset: params.offset,
length: params.length,
head: params.head,
+ xpos: params.xpos
}
wf.attr attrs
end
def add_term params
@@ -69,9 +70,10 @@
lemma: params.lemma,
text: params.text,
pos: params.pos,
morphofeat: params.morphofeat,
head: params.head,
+ xpos: params.xpos
}
term.attr attrs
term.first.add_child("<span><target id='w#{params.wid}'/></span>")
end