Showing posts with the label nlp

[FIXED] Computing precision and recall in Named Entity Recognition

Issue Now I am about to report the results from Named Entity Recognition. One thing that I find a b…

[FIXED] NLTK: Adding negative words for sentiment analysis

Issue I am working on Sentiment Analysis using nltk and SpaCy. While working, I need to add new wor…

[FIXED] When to use Word2vec and bag of words?

Issue I'm still unsure about when to use word2vec and when to rely on the bag of words. For exa…

[FIXED] How to find similar words with FastText?

Issue I am playing around with FastText , https://pypi.python.org/pypi/fasttext ,which is quite sim…

[FIXED] How to get the dimensions of a word2vec vector?

Issue I have run a word2vec model on my data list_of_sentence : from gensim.models import Word2Vec…

[FIXED] Word2Vec + CNN Overfitting

Issue Currently I'am training my Word2Vec + CNN for Twitter sentiment analysis about COVID-19 v…

[FIXED] Word2Vec + LSTM Good Training and Validation but Poor on Test

Issue currently I'am training my Word2Vec + LSTM for Twitter sentiment analysis. I use the pre-…

[FIXED] Similarity between multiple vectors having same length

Issue Objective : Compute a similarity between two users on the basis of their skills Approach :…

[FIXED] Can we deduce the relationship b/w a dimension of a word vector with the linguistic characteristic it represents?

Issue Let's imagine we generated a 200 dimension word vector using any pre-trained model of the…

[FIXED] How to handle KeyError(f"Key '{key}' not present") wor2vec with gensim

Issue I have build a model with gensim library and am trying to get the vector of word that not pre…

[FIXED] How to convert small dataset into word embeddings instead of one-hot encoding?

Issue I have a dataset of 33 words that are a mix of verbs and nouns, for eg. father, sing, etc. I …

[FIXED] 'MeanEmbeddingVectorizer' object has no attribute 'transform'

Issue Hello i'm working with text classification. I've a dataset with 2 columns one made of…

[FIXED] What is the ideal "size" of the vector for each word in Word2Vec?

Issue I have a dataset of over 1 million rows. Each row has 40 token words. Based on these tokens, …

[FIXED] How to get three dimensional vector embedding for a list of words

Issue I have been asked to create three dimensional vector embeddings for a series of words. Althou…

[FIXED] subsampling formula skipgram NLP

Issue I'm studying how to implement a Skip-Gram model using Pytorch, I follow this noreferrer&q…

[FIXED] Using a Word2Vec Model to Extract Data

Issue I've used gensim Word2Vec to learn the embedding of monetary amounts and other numeric da…

[FIXED] gensim word2vec: Find number of words in vocabulary

Issue After training a word2vec model using python gensim , how do you find the number of words in …

[FIXED] How do I subtract and add vectors with gensim KeyedVectors?

Issue I need to add and subtract word vectors , for a project in which I use noreferrer">ge…

[FIXED] Gensim 4.2.0 downloader function is missing

Issue I'm using the Gensim package. However, when I want to load the word2vec model, the gensim…

[FIXED] Using Word2Vec for word embedding of sentences

Issue I am trying to create an emotion recognition model and for that I am using Word2Vec. I have a…