Created
April 28, 2020 17:22
-
-
Save piEsposito/63e785bfe6f325ad6de6dcb2b960a1ae 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
encoder = SpacyEncoder(text_as_list) | |
#first, encode it | |
encoded_texts = [] | |
for i in tqdm(range(len(text_as_list))): | |
encoded_texts.append(encoder.encode(text_as_list[i])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment