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

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

Negation Handling In Nlp

I'm currently working on a project, where I want to extract emotion from text. As I'm using… Read more Negation Handling In Nlp

How To Find Similar Words With Fasttext?

I am playing around with FastText, https://pypi.python.org/pypi/fasttext,which is quite similar to … Read more How To Find Similar Words With Fasttext?

Sequence Of Vowels Count

This is not a homework question, it is an exam preparation question. I should define a function syll… Read more Sequence Of Vowels Count

Custom Ners Training With Spacy 3 Throws Valueerror

I am trying to add custom NER labels using spacy 3. I found tutorials for older versions and made a… Read more Custom Ners Training With Spacy 3 Throws Valueerror

Python Regex: Tokenizing English Contractions

I am trying to parse strings in such a way as to separate out all word components, even those that … Read more Python Regex: Tokenizing English Contractions

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

Tfidfvectorizer - How Can I Check Out Processed Tokens?

How can I check the strings tokenized inside TfidfVertorizer()? If I don't pass anything in th… Read more Tfidfvectorizer - How Can I Check Out Processed Tokens?

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?

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

Gensim Fasttext Cannot Get Latest Training Loss

Problem description It seems that the get_latest_training_loss function in fasttext returns only 0.… Read more Gensim Fasttext Cannot Get Latest Training Loss

Ntlk & Python, Plotting Roc Curve

I am using nltk with Python and I would like to plot the ROC curve of my classifier (Naive Bayes). … Read more Ntlk & Python, Plotting Roc Curve

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?

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

Sgdclassifier Giving Different Accuracy Each Time For Text Classification

I'm using the SVM Classifier for classifying text as good text and gibberish. I'm using pyt… Read more Sgdclassifier Giving Different Accuracy Each Time For Text Classification

Identify An English Word As A Thing Or Product?

Write a program with the following objective - be able to identify whether a word/phrase represents… Read more Identify An English Word As A Thing Or Product?

Difference Between Max Length Of Word Ngrams And Size Of Context Window

In the description of the fasttext library for python https://github.com/facebookresearch/fastText/… Read more Difference Between Max Length Of Word Ngrams And Size Of Context Window

How To Find A Word - First Letter Will Be Capital & Other Will Be Lower

Problem Statement: Filter those words from the complete set of text6, having first letter in upper … Read more How To Find A Word - First Letter Will Be Capital & Other Will Be Lower

Note Taking Program With Nltk And Wordnet Doesnt Work, Error Message Says Its Because Of Wordnet

I am trying to make a program in python that will take notes on a passage that I input. It will sor… Read more Note Taking Program With Nltk And Wordnet Doesnt Work, Error Message Says Its Because Of Wordnet

Extracting A Person's Age From Unstructured Text In Python

I have a dataset of administrative filings that include short biographies. I am trying to extract p… Read more Extracting A Person's Age From Unstructured Text In Python