Guest User

Untitled

a guest
May 25th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. # The index-word correpondance is recorded in TEXT.vocab.stoi as a dictionary
  2. # We build a lookup dictionary for later use
  3. lookup = {b:a for a, b in TEXT.vocab.stoi.items()}
  4. lookup[30]
Add Comment
Please, Sign In to add comment