Nltk: TextTiling不支持python 3

创建于 2017-10-16  ·  4评论  ·  资料来源: nltk/nltk

在315 clip = min(max(len(scores)/10, 2), 5)您应该使用int来包装此值,因为python 3除法类型是float。

谢谢

bug corpus goodfirstbug python3

最有用的评论

https://github.com/nltk/nltk/pull/1863
这个错误是固定的:)

所有4条评论

相关#965#1537和https://github.com/nltk/nltk/issues?utf8=✓&q = is%3Aissue%20is%3Aopen%20texttiling

我认为这是一个长期存在的错误,尚未得到修复,修复可能非常简单。 让我们尝试在下一个发行版P中对此进行修补。

我想在这个上工作:)

https://github.com/nltk/nltk/pull/1863
这个错误是固定的:)

@ e5pecial感谢您的

@zorroblue谢谢您的关注,如果您愿意为其他事情做出贡献,则可以尝试浏览goodfirstbug标签: https :

在#1863中解决

此页面是否有帮助?
0 / 5 - 0 等级