manishbansal-fk

Results 2 issues of manishbansal-fk

1) Got below error : /lib/python2.7/site-packages/ot/bregman.py:347: RuntimeWarning: invalid value encountered in multiply Kp = (1 / a).reshape(-1, 1) * K **('Warning: numerical errors at iteration', 0)** Command: ot.sinkhorn(a=input_vector, b=output_vector, M=distance_matrix,...

documentation

https://github.com/jbhoosreddy/spellcorrect/blob/2a38602fee0f445619399c82e1554e9c09bb6e1c/spellcorrect.py#L222 There should be "space" between words while fetching probability of candidate. Eg. bigram = calc.pow(calc.e, sc.ng.sentenceprobability(**sentence[index-1] + ' ' + item + ' ' + sentence[index+1]**, 'bi', 'antilog')) [Why...