hepingtao

Results 4 issues of hepingtao

``` def segment(sentence, cut_all=False): sentence = sentence.replace('\n', '').replace('\u3000', '').replace('\u00A0', '') sentence = ' '.join(jieba.cut(sentence, cut_all=cut_all)) return re.sub('[a-zA-Z0-9.。::,,))((!!??”“\"]', '', sentence).split() # 可以先替换,然后分词 ```

When I use keyboard (Shift + arrow key) to select my text range, and then input gist description, press Enter key, my selection range is missing, it is not selected...

运行 `heart.py`,`response.json()[0]` 报错: ``` raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded ``` 新浪微博API返回的是html,并不是json格式,因此报错

输入帐号,密码后,还是停留在登陆界面,不能登陆