forked from kristjan/cjvt-valency
senses working
This commit is contained in:
@@ -169,6 +169,7 @@ export default {
|
||||
}
|
||||
this.sentences = {}
|
||||
for (var fi in this.frames) {
|
||||
console.log(this.frames[fi].sentences)
|
||||
for (var si in this.frames[fi].sentences) {
|
||||
var sentence = this.frames[fi].sentences[si]
|
||||
// get ssj_id without .t123
|
||||
@@ -184,7 +185,7 @@ export default {
|
||||
}
|
||||
*/
|
||||
for (var i in sentence) {
|
||||
words.push(sentence[i][1].word)
|
||||
words.push(sentence[i][1].text)
|
||||
if (sentence[i][1].lemma === tmp_hw && hw_idx == -1) {
|
||||
hw_idx = i
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user