Commit 5a4f4175 authored by liujiangnan's avatar liujiangnan

fix: 大小写处理

parent 90462ffa
...@@ -903,7 +903,7 @@ function annotation(text, detail){ ...@@ -903,7 +903,7 @@ function annotation(text, detail){
function scoreByText(text, keyWords, timeLen) { function scoreByText(text, keyWords, timeLen) {
const smallText = text.toLowerCase(); const smallText = text.toLowerCase();
const detailArr = keyWords.split(","); const detailArr = keyWords.toLowerCase().split(",");
const mainArr = []; const mainArr = [];
const speakedDetailWordArr = []; const speakedDetailWordArr = [];
......
Markdown is supported
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