do not include title in text
This commit is contained in:
parent
e689ef3233
commit
ecc7cef402
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user