senses working

This commit is contained in:
2019-04-07 21:43:42 +02:00
parent e4730c40e1
commit 40f6aea2e7
4 changed files with 30 additions and 17 deletions

View File

@@ -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
}