Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김지훈
/
3line
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
2
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김지훈
2016-11-12 12:56:00 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1c1183229e26469d91480c9da5cff036dea80824
1c118322
1 parent
8259e6ce
Delete : some comments
no use delete
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
Server/routes/index.js
Server/routes/index.js
View file @
1c11832
...
...
@@ -24,8 +24,6 @@ router.get('/', function(req, res, next) {
async
.
each
(
sentences
,
function
(
sentence_2
,
callback_2
)
{
mecab
.
nouns
(
sentence
,
function
(
err
,
result
)
{
mecab
.
nouns
(
sentence_2
,
function
(
err
,
result_2
)
{
console
.
log
(
"result : "
,
result
);
console
.
log
(
"result2: "
,
result_2
);
var
index
=
jaccard
.
index
(
result
,
result_2
);
sentenceSimilarity
.
push
(
index
);
callback_2
();
...
...
Please
register
or
login
to post a comment