Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김서영
/
searchGuide
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
bluejoyq
2019-12-03 19:38:48 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0f1e86dc021794c3291c6e40fc2961eba45cb352
0f1e86dc
1 parent
d2ee1668
add machine server
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
api/apiRequest.js
model/app.py
api/apiRequest.js
View file @
0f1e86d
...
...
@@ -102,7 +102,7 @@ const DOCVECAPI = (searchResults, keywordText, index) => {
return
new
Promise
((
resolve
,
reject
)
=>
{
apiReqOption
=
{
method
:
"POST"
,
uri
:
"http://1
27.0.0.1
:5000/analyze"
,
uri
:
"http://1
5.164.215.24
:5000/analyze"
,
body
:
{
sentence1
:
searchResults
[
index
].
passage
,
sentence2
:
keywordText
...
...
model/app.py
View file @
0f1e86d
...
...
@@ -34,7 +34,7 @@ def parsetoken(sentence):
model
[
"/"
.
join
(
tag
)]
lst
.
append
(
"/"
.
join
(
tag
))
except
:
null
print
(
1
)
# resdata = dict(zip(range(1, len(lst) + 1), lst))
return
lst
...
...
Please
register
or
login
to post a comment