Skip to content

Commit

Permalink
#2 remove space reduction step from doc retriever
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarasmro committed Jul 23, 2018
1 parent 1c3efbe commit 18e97e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/server/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def retrieve_closest_docs(query, k):
for doc in retrieved_docs[0]:
if doc not in visited:
visited.add(doc)
directory[doc] = ' '.join(doc_client.get_doc_text(doc).replace('\n',' ').replace('\"', '"').split())
directory[doc] = doc_client.get_doc_text(doc)
return directory

if __name__ == '__main__':
Expand Down

0 comments on commit 18e97e9

Please sign in to comment.