Skip to content Skip to sidebar Skip to footer
Showing posts with the label Nlp

How To Do Text Pre-processing Using Spacy?

How to do preprocessing steps like Stopword removal , punctuation removal , stemming and lemmatizat… Read more How To Do Text Pre-processing Using Spacy?

Passing Term-document Matrix To Gensim Lda Model

My term-document matrix is in a numpy matrix format, and I have a dictionary to represent the of t… Read more Passing Term-document Matrix To Gensim Lda Model

How To Extract Quotations From Text Using Nltk

I have a project wherein I need to extract quotations from a huge set of articles . Here , by quot… Read more How To Extract Quotations From Text Using Nltk

How Can We Use Spacy Minibatch And Goldparse To Train Ner Model Using Biluo Tagging Scheme?

My input data to the spacy ner model is in the BILUO tagging scheme and I wish to use the same as a… Read more How Can We Use Spacy Minibatch And Goldparse To Train Ner Model Using Biluo Tagging Scheme?

How To Remove Punctuation?

I am using the tokenizer from NLTK in Python. There are whole bunch of answers for removing punctua… Read more How To Remove Punctuation?

Find Different Realization Of A Word In A Sentence String - Python

(This question is with regards to string checking in general and not Natural Language Procesisng pe… Read more Find Different Realization Of A Word In A Sentence String - Python

Semantic Parsing With Nltk

I am trying to use NLTK for semantic parsing of spoken navigation commands such as 'go to San F… Read more Semantic Parsing With Nltk

Difference Between Fasttext .vec And .bin File

I recently downloaded fasttext pretrained model for english. I got two files: wiki.en.vec wiki.en.… Read more Difference Between Fasttext .vec And .bin File

Getting Word Embeddings For Your Dataset Using Training Data In Glove

I recently installed gensim and glove in my mac and am trying to get word embedding for textual dat… Read more Getting Word Embeddings For Your Dataset Using Training Data In Glove

Gensim Phrases Usage To Filter N-grams

I am using Gensim Phrases to identify important n-grams in my text as follows. bigram = Phrases(doc… Read more Gensim Phrases Usage To Filter N-grams

Tweet Classification Into Multiple Categories On (unsupervised Data/tweets)

I want to classify the tweets into predefined categories (like: sports, health, and 10 more). If I … Read more Tweet Classification Into Multiple Categories On (unsupervised Data/tweets)

How To Get The Span Of A Conjunct In Spacy?

I use spacy, token.conjuncts to get the conjuncts of each token. However, the return type of the to… Read more How To Get The Span Of A Conjunct In Spacy?

Problem In Coding A Welcome Message Along With Options In Rasa

I read this answer on How to code a Welcome Message in RASA, accordingly, I did write a custom acti… Read more Problem In Coding A Welcome Message Along With Options In Rasa

Gensim Equivalent Of Training Steps

Does gensim Word2Vec have an option that is the equivalent of 'training steps' in the Tenso… Read more Gensim Equivalent Of Training Steps

Can I Find Subject From Spacy Dependency Tree Using Nltk In Python?

I want to find the subject from a sentence using Spacy. The code below is working fine and giving a… Read more Can I Find Subject From Spacy Dependency Tree Using Nltk In Python?

Regex [a-z] Do Not Recognize Local Characters

I've checked other problems and I've read their solutions, they do not work. I've teste… Read more Regex [a-z] Do Not Recognize Local Characters

How To Extract Tag Attributes Using Spacy

I tried to get the morphological attributes of the verb using Spacy like below: import spacy from s… Read more How To Extract Tag Attributes Using Spacy

How To Choose Parameters In Tfidfvectorizer In Sklearn During Unsupervised Clustering

TfidfVectorizer provides an easy way to encode & transform texts into vectors. My question is h… Read more How To Choose Parameters In Tfidfvectorizer In Sklearn During Unsupervised Clustering

What Is The Accuracy Of Nltk Pos_tagger?

I'm writing a dissertation, and using nltk.pos_tagger in my work. I can't find any informat… Read more What Is The Accuracy Of Nltk Pos_tagger?

Applying Spacy's Entityrecognizer To A Column Within A Pandas Dataframe

I have a text based dataset where I am looking to apply SpaCy's EntityRecognizer to each row fo… Read more Applying Spacy's Entityrecognizer To A Column Within A Pandas Dataframe