JioNLP icon indicating copy to clipboard operation
JioNLP copied to clipboard

[BUG] remove_url 的功能不符合预期

Open 1099255210 opened this issue 11 months ago • 1 comments

描述(Description)

jionlp=1.5.7

import jionlp
if __name__ == '__main__':
    c = '这是一个链接https://fb.watch/o2JPlWrxYr/?mibextid=cr9u03"'
    c = jionlp.clean_text(c)
    print(c)

输出:

这是一个链接https://fb.watch/o2JPlWrxYr/?mibextid=cr9u03"

没有按照预期去除该链接

1099255210 avatar Mar 05 '24 14:03 1099255210

从git 拉代码修复了该问题。

dongrixinyu avatar Mar 06 '24 03:03 dongrixinyu