Commit 4965f0b0 authored by kavindu perera's avatar kavindu perera

post process commit

parent 81472748
......@@ -112,6 +112,12 @@ def generate_summary(file_name, top_n=1):
print(x)
return x
def postprocesstext(content):
final = ""
for sent in sent_tokenize(content):
sent = sent.capitalize()
final = final + " " + sent
return final
# s = generate_summary(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment