Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JM-07
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
JM-07
Commits
6721a7e5
Commit
6721a7e5
authored
Aug 11, 2021
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
73969597
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
index.html
play/index.html
+2
-2
index.js
play/index.js
+0
-8
No files found.
play/index.html
View file @
6721a7e5
...
...
@@ -12,10 +12,10 @@
<link
href=
"./index.css"
rel=
"stylesheet"
>
<script
type=
"text/javascript"
src=
"//staging-teach.cdn.ireadabc.com/h5template/h5-static-lib/js/air_online_open.js"
></script>
<script
src=
'https://cdn.bootcss.com/vConsole/3.2.2/vconsole.min.js'
type=
"text/javascript"
charset=
"utf-8"
></script>
<
!-- <
script src='https://cdn.bootcss.com/vConsole/3.2.2/vconsole.min.js' type="text/javascript" charset="utf-8"></script>
<script>
window.vConsole = new window.VConsole()
</script>
</script>
-->
</head>
<body>
...
...
play/index.js
View file @
6721a7e5
...
...
@@ -944,14 +944,6 @@ function scoreByText(text, keyWords, timeLen) {
}
}
console
.
log
(
'
--------所有关键词---------
'
);
console
.
log
(
detailArr
);
console
.
log
(
'
-----------------
'
);
console
.
log
(
'
--------您说到的关键词---------
'
);
console
.
log
(
speakedDetailWordArr
);
console
.
log
(
'
-----------------
'
);
const
speakedCount
=
speakedDetailWordArr
.
length
+
speakedMainWordArr
.
length
;
const
targetSpeakCount
=
detailArr
.
length
+
mainArr
.
length
;
const
rate1
=
speakedCount
/
targetSpeakCount
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment