Bhanu Pratap Singh

Results issues of Bhanu Pratap Singh

Hi When I user p = ttp.Parser(); ttp.parse(tweettext, html=False); I get exceptions for some tweets due to invalid html character formatting as : Traceback (most recent call last): File "/home/bhanu/git/misc/twitter/src/preprocessing.py",...

## Problem Description Spacy's default models produces different tokens for a text/doc. Lets say a document is processed using `nlp = spacy.load('en')` model and later you just want to tokenize...

usage

``` >>> import numpy as np >>> x = np.array([ 9.23673742e-01, 8.94218457e-02, 1.77016515e-01, 1.17322259e-01, 100]) >>> np.where(x>> np.any(x < 0) True >>> if(x[4] < 0): ... print("True") ... else: ......

I am using 'minimize' function from scipy.optimize for an optimization problem. **Here is the sample code to recreate the issue:** ``` python def recreate_bug(): def cost(x): return 0.5*np.sum(x**2) A =...