Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Fixed script
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrevinnoc committed Mar 6, 2021
1 parent b05c669 commit e140cc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions create_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
import numpy as np
from Monad import Monad, getSentenceMeanVector

bson.loads = bson.BSON.decode
bson.dumps = bson.BSON.encode

futureURLs = Monad("future_urls")
futureURLs.createIndex("FUTURE_url_vecs")
futureURLs.compileIndex()
Expand Down

0 comments on commit e140cc9

Please sign in to comment.