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

Python Re Match, Findall Or Search And Then Nlp (what To Do With It?)

I am starting to write code that would capture part of sentence 'types' and if they match a… Read more Python Re Match, Findall Or Search And Then Nlp (what To Do With It?)

Stanford Ner In Nltk Not Tagging Multiple Sentences Correctly - Python

I have a function which returns the named entities in a given body of text, using the Stanford NER.… Read more Stanford Ner In Nltk Not Tagging Multiple Sentences Correctly - Python

Python Nltk Code Snippet To Train A Classifier (naive Bayes) Using Feature Frequency

I was wondering if anyone could help me through a code snippet that demonstrates how to train Naive… Read more Python Nltk Code Snippet To Train A Classifier (naive Bayes) Using Feature Frequency

Problem To Extract Ner Subject + Verb With Spacy And Matcher

I work on an NLP project and i have to use spacy and spacy Matcher to extract all named entities wh… Read more Problem To Extract Ner Subject + Verb With Spacy And Matcher

Nltk Interface To Stanford Parser

I am getting problems to access Stanford parser through python NLTK (they developed an interface fo… Read more Nltk Interface To Stanford Parser

Loading And Editing A Cfg File For Grammar Parsing

I am following the steps mentioned here - http://www.nltk.org/book/ch10.html to load and parse data… Read more Loading And Editing A Cfg File For Grammar Parsing

Scikit-learn, Add Features To A Vectorized Set Of Documents

I am starting with scikit-learn and I am trying to transform a set of documents into a format on wh… Read more Scikit-learn, Add Features To A Vectorized Set Of Documents

How To Automatically Label A Cluster Of Words Using Semantics?

The context is : I already have clusters of words (phrases actually) resulting from kmeans applied … Read more How To Automatically Label A Cluster Of Words Using Semantics?

How To Output Nltk Chunks To File?

I have this python script where I am using nltk library to parse,tokenize,tag and chunk some lets s… Read more How To Output Nltk Chunks To File?

Fine-tune Bert For Specific Domain (unsupervised)

I want to fine-tune BERT on texts that are related to a specific domain (in my case related to engi… Read more Fine-tune Bert For Specific Domain (unsupervised)

Fasttext 0.9.2 - Recall Is 'nan' But Precision Is A Number

I trained a supervised model in FastText using the Python interface and I'm getting weird resul… Read more Fasttext 0.9.2 - Recall Is 'nan' But Precision Is A Number

How Can I Send A Batch Of Strings To The Google Cloud Natural Language Api?

I have a Pandas dataframe containing a number of social media comments that I want to analyse using… Read more How Can I Send A Batch Of Strings To The Google Cloud Natural Language Api?

Calculate Perplexity Of Word2vec Model

I trained Gensim W2V model on 500K sentences (around 60K) words and I want to calculate the perplex… Read more Calculate Perplexity Of Word2vec Model

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?

In Spell Checker How To Get The Word That Are 3 Edits Away(norvig)

I have been trying to use spell corrector for my database table to correct the address from one tab… Read more In Spell Checker How To Get The Word That Are 3 Edits Away(norvig)

Python: Clustering Similar Words Based On Word2vec

This might be the naive question which I am about to ask. I have a tokenized corpus on which I have… Read more Python: Clustering Similar Words Based On Word2vec

Is It Possible To Re-train A Word2vec Model (e.g. Googlenews-vectors-negative300.bin) From A Corpus Of Sentences In Python?

I am using pre-trained Google news dataset for getting word vectors by using Gensim library in pyth… Read more Is It Possible To Re-train A Word2vec Model (e.g. Googlenews-vectors-negative300.bin) From A Corpus Of Sentences In Python?

Python Frameworks For Nlp?

I am working on a project wherein I have to extract the following information from a set of article… Read more Python Frameworks For Nlp?

Polyglot Installation

I'm trying to install 'polyglot' using the below command pip install polyglot But I… Read more Polyglot Installation

Classify A Noun Into Abstract Or Concrete Using Nltk Or Similar

How can I categorize a list of nouns into abstract or concrete in Python? For example: 'Have a… Read more Classify A Noun Into Abstract Or Concrete Using Nltk Or Similar