do not include title in text

This commit is contained in:
Karl Stratos 2018-03-22 12:51:47 -05:00
parent e689ef3233
commit ecc7cef402

View File

@ -629,7 +629,6 @@ class Extractor(object):
text = self.transform(text)
text = self.wiki2text(text)
text = compact(self.clean(text))
text = [title_str] + text
if sum(len(line) for line in text) < options.min_text_length:
return