We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug的现象
内容标签 class=content,代码进行了加权。内容中只包含了 <br>,预处理后正文内容为纯字符串。
class=content
<br>
def need_skip_ltgi(self, ti, lti): if lti == 0: return False return ti // lti > 10 # 正文的字符数量是链接字符数量的十倍以上
lti == 0 导致 density = 0,最终的分数为 0。最后从父级标签提取内容,包含了不必要的内容。
lti == 0
density = 0
<div class="content1"> 我是正文我是正文我是正文 <br /> 我是正文我是正文我是正文 <br /> 我是正文我是正文我是正文 <br /> 我是正文我是正文我是正文 <br /> 我是正文我是正文我是正文 <br /> </div>
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
kingname
No branches or pull requests
bug的现象
内容标签
class=content
,代码进行了加权。内容中只包含了<br>
,预处理后正文内容为纯字符串。lti == 0
导致density = 0
,最终的分数为 0。最后从父级标签提取内容,包含了不必要的内容。The text was updated successfully, but these errors were encountered: