From 73c8874749af67fa3a780c35b92ec349ca6ef19f Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 13 Aug 2018 18:20:39 +0900 Subject: [PATCH] oops --- src/modules/keyword/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/keyword/index.ts b/src/modules/keyword/index.ts index 8c0fd78..ce5c4e3 100644 --- a/src/modules/keyword/index.ts +++ b/src/modules/keyword/index.ts @@ -29,7 +29,7 @@ export default class KeywordModule implements IModule { await Promise.all(interestedNotes.map(note => new Promise((res, rej) => { this.tokenizer.parse(note.text, (err, tokens) => { - const keywordsInThisNote = tokens.filter(token => token[2] == '固有名詞' && keyword[8] != null); + const keywordsInThisNote = tokens.filter(token => token[2] == '固有名詞' && token[8] != null); keywords = keywords.concat(keywordsInThisNote); res(); });