Created
November 4, 2020 08:33
-
-
Save oscar-defelice/6afcefe1e019f8387a66bf2c3843004e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function loadVocab(vocabPath) { | |
let word2index = await (await fetch(vocabPath)).json(); | |
return word2index; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment