Questions tagged [monkeylearn]
10 questions
10
votes
2 answers
Android Studio - Program type already present: org.hamcrest.CoreMatchers
I have no idea why this error exists:
Program type already present: org.hamcrest.CoreMatchers
Message{kind=ERROR, text=Program type already present: org.hamcrest.CoreMatchers, sources=[Unknown source file], tool name=Optional.of(D8)}
My code in in…

ABCman
- 125
- 4
- 12
2
votes
1 answer
Monkeylearn responds with status code 423 using Java
I am trying to connect to Monkey Learn URL but the error that I get is as follows:
java.io.IOException: Server returned HTTP response code: 423 for URL: https://api.monkeylearn.com/v2/classifiers/cl_rFrQ66gZ/classify/
at…

Robert
- 21
- 2
1
vote
2 answers
How to extract only a specific value from a python sublist that I got as an API response from Monkeylearn
I have been training a text classification model in Monkeylearn and as a response to my API query, I get a python list as a result. I want to extract only the specific text classification value from it. Attaching the code below.
ml =…

Alfn William
- 27
- 8
1
vote
4 answers
Parsing a list in Python
I am trying sentiment analysis with MONKEYLEARN API in python.
When I print the result I get the following response.
[{'text': 'Today is a very good weather', 'external_id': None,'error': False, 'classifications': [{'tag_name': 'Positive',…

Yasir Ahmed Pirkani
- 19
- 7
1
vote
2 answers
MonkeyLearn - The module is not trained error
I am getting module not trained error. However I have created training set in the sample code
from monkeylearn import MonkeyLearn
# Use the API key from your account
ml = MonkeyLearn('211893df48b')
# Create a new classifier
res =…

Hariprasad
- 1,611
- 2
- 14
- 19
1
vote
0 answers
How do I use the MonkeyLearn API PHP Client to classify a sample text
I have looked at https://github.com/artstorm/monkeylearn-api-php , but I can't understand how to actually send the post request via php.
Where do I put this:
$token = 'monkeylearn-api-token';
$client = new…

STEIN
- 305
- 1
- 2
- 10
0
votes
1 answer
Can I just display the tag_name from my MonkeyLearn model?
Hi is there a way I can display just the tag_name using MonkeyLearn instead of a full text?
Here is the code
from monkeylearn import MonkeyLearn
ml = MonkeyLearn('xxxx')
classifier = ['text']
model_id = 'xxxx'
response =…
0
votes
1 answer
Saving API as environment variable (for setting up monkeylearn in R)
I would like to use the named entity recognition functions in the monkeylearn package in R.
As part of the setting up process, we need to do the following:
"To get an API key for MonkeyLearn, register at http://monkeylearn.com/. Note that…

Seamus Lam
- 155
- 3
- 10
0
votes
1 answer
"status_code": 422, "error_code": "REQUEST_PARAM_PARSE", "detail": "The 'data' parameter must be a list"
I’m using the HTTP Request Wizard to set up a POST request to MonkeyLearn. This endpoint expects a JSON in the request body (or payload body). It must be an object with the data property and a list of the texts you want to classify as value. For…
-1
votes
1 answer
How to declare a tweet as negative or neutral by using stanford NLP?
I want to find the sentiment for
@SouthwestAir Fastest response all day. Hour on the phone: never got off hold. Hour in line: never got to the Flight Booking Problems desk.
When I use NLP sentiment class, I get
Neutral @SouthwestAir Fastest…

bunny sunny
- 301
- 6
- 15