Created
January 7, 2021 17:19
-
-
Save foohm71/a8e537e75964dd0e876bdb78a440c12c to your computer and use it in GitHub Desktop.
text similarity setup
This file contains 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
from google.colab import drive | |
drive.mount('/content/gdrive') | |
import gensim | |
from gensim.models import KeyedVectors | |
import numpy as np | |
import pandas as pd | |
import nltk | |
from nltk import word_tokenize | |
nltk.download('punkt') | |
from scipy.spatial.distance import cosine | |
pd.set_option('display.max_colwidth', -1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment