Questions tagged [nltk-trainer]
55 questions
0
votes
0 answers
NLTK download error (Host not responding)
this is the image (on the bottom u can find the error)
nltk.download()
after this command the above dialog box appeared but once i click download it says host not responding
Error downloading •abc' from <…

David Franklin
- 1
- 1
0
votes
0 answers
Chatbot with NLTK with type of request and parameters
I am new to NLTK and trying to build a chatbot with type of request and parameter.
For ex,
corpus = [
{
name: "appt-count",
text: "How many appointments I have for today?"
},
{
name:…

user1578872
- 7,808
- 29
- 108
- 206
0
votes
0 answers
Update existing spacy model
I have installed spacy 3.4.1 and en_core_web_lg model.
Now I want to update(train) this model with more example for ORG entity. I tried using below code
nlp = spacy.load("en_core_web_lg) # load existing spaCy model
print("Loaded model '%s'" %…

sanwar
- 1
- 1
0
votes
0 answers
I'm trying to develope in Python a chatbot with nltk library
I'm having problems with "I'm" since I would like that the bot will response to "I'm Sara" with a sentence different from the sentence replying "I'm happy". Does anyone know how to fix it please?
Specifically:
[r"(.*) my name is (.*)",
…

Sara Frassini
- 1
- 2
0
votes
0 answers
How can I find and print unmatched/dissimilar words from the documents(dataset)?
I am trying to rewrite algorithm that basically takes a input text file and compares with different documents and results the similarities.
Now I want to print output of unmatched words and output a new textile with unmatched words.
From this code,…

Adil Shaik
- 15
- 1
- 3
0
votes
0 answers
neutral label for NLTK
I have similar problem like below
Why did NLTK NaiveBayes classifier misclassify one record?
In my case, I queried positive feed and built positive_vocab and then queried negative feed and built negative_voca. I get the data from feed clean and…

Raj
- 401
- 6
- 20
0
votes
1 answer
When I applied (NLTK) stop words to a data frame it showing an error?
Reviews Label
0 Bromwell High is a cartoon comedy. It ran at t... Positive
1 Homelessness (or Houselessness as George Carli... Positive
2 Brilliant over-acting by Lesley Ann Warren. Be... …

jain
- 113
- 2
- 12
0
votes
1 answer
How to integrate the sentiment analysis script with the chatbot for analysing the user's reply in the same console screen?
I want to make a chatbot that uses Sentiment analyser script for knowing the sentiment of the user's reply for which I have completed the Chatbot making.
Now only thing I want to do is to use this Script to analyse the reply of user using the…

Sarah Sagittarius
- 19
- 10
0
votes
1 answer
nltk pos_tag error in windows Anaconda
while I wish to collect POS tags using pos_tag function the following error occurs.i included all packages required for nltk. nltk version is 3.3 and running in conda environment . python version is 3.6. every nltk packages are downloaded using nltk…

nikki
- 375
- 2
- 4
- 13
0
votes
2 answers
NLTK custom categorized corpus not reading files
I have created my own corpus, similar to the movie_reviews corpus in nltk (categorized by neg|pos.)
Within the neg and pos folders are txt files.
Code:
from nltk.corpus import CategorizedPlaintextCorpusReader
mr =…

Yunter
- 274
- 3
- 17
0
votes
1 answer
Word Classification using Machine Learning Algorithm
I am a newbie to machine learning. What I currently want is to classify whether some words comes under a category or not..
Let me be more specific, On inputting some words I need to check whether those words comes under a language known as…

Ajay Victor
- 153
- 1
- 1
- 12
0
votes
1 answer
Possible to train NLTK to detect "made up" names in a sentence?
I've recently starting looking at data extraction using NLTK. While there are several examples and techniques for detecting "real" names, locations, etc.. I haven't found an efficient way to detect "made up" or "imaginary" names. An example string…

django-d
- 2,210
- 3
- 23
- 41
0
votes
0 answers
ImportError with nltk_train
I am trying to get my ways around with nltk-trainer (https://github.com/japerk/nltk-trainer). I managed to train Dutch taggers and chunkers with the commands (directly in Anaconda console):
python train_tagger.py conll2002 --fileids ned.train…

user3766450
- 31
- 4
0
votes
1 answer
NLTK Naive Bayes Classifier Training issues
I'm trying to train the classifier for tweets. However, the issue is that it is saying that the classifier has a 100% accuracy and the list of the most informative features doesn't display anything. Does anyone know what I'm doing wrong? I believe…

Daniel Medina Sada
- 478
- 1
- 5
- 16
0
votes
1 answer
Getting a 'pos' test on a negative review
Okay so I trained a NaiveBayes Movie Review Classifier...however when I run it against a negative review (from a website that i copied and pasted into a txt file) i am getting 'pos'...am I doing something wrong? Here is the code below:
import nltk,…

Kimberly James
- 106
- 11