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?)

Word_tokenize Typeerror: Expected String Or Buffer

When calling word_tokenize I get the following error: File 'C:\Python34\lib\site-packages\nltk\… Read more Word_tokenize Typeerror: Expected String Or Buffer

Ner Training Using Spacy

When running a train on an empty NER model, should I include only labeled data (data that contain n… Read more Ner Training Using Spacy

Using Spacy 3.0 To Convert Data From Old Spacy V2 Format To The Brand New Spacy V3 Format

I have the variable trainData which has the following simplified format. [ ('Paragraph_A',… Read more Using Spacy 3.0 To Convert Data From Old Spacy V2 Format To The Brand New Spacy V3 Format

Detecting Pos Tag Pattern Along With Specified Words

I need to identify certain POS tags before/after certain specified words, for example the following… Read more Detecting Pos Tag Pattern Along With Specified Words

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

Understanding Gensim Word2vec's Most_similar

I am unsure how I should use the most_similar method of gensim's Word2Vec. Let's say you wa… Read more Understanding Gensim Word2vec's Most_similar

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)

Spacy - Tokenize Quoted String

I am using spacy 2.0 and using a quoted string as input. Example string 'The quoted text '… Read more Spacy - Tokenize Quoted String

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

Removing Commas And Unlisting A Dataframe

Background I have the following sample df: import pandas as pd df = pd.DataFrame({'Before' … Read more Removing Commas And Unlisting A Dataframe

Detecting Foreign Words

I am writing a script to detect words from a language B in a language A. The two languages are very… Read more Detecting Foreign Words

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?

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?

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?

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

How To Conjugate A Verb In Nltk Given Pos Tag?

Given a POS tag, such as VBD, how can I conjugate a verb to match with NLTK? e.g. VERB: go POS: VBD… Read more How To Conjugate A Verb In Nltk Given Pos Tag?

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

How Calculate Distance Between 2 Node2vec Model

I have 2 node2vec models in different timestamps. I want to calculate the distance between 2 models… Read more How Calculate Distance Between 2 Node2vec Model

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