Skip to content
New issue

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

How to summarize the plain text #13

Open
Deepan1303 opened this issue Oct 7, 2016 · 7 comments
Open

How to summarize the plain text #13

Deepan1303 opened this issue Oct 7, 2016 · 7 comments

Comments

@Deepan1303
Copy link

i need to summarize the plain text which is saved in my local desk as text file. i think there is changes to be required. Please help if anyone knows.

@vgel
Copy link
Owner

vgel commented Oct 9, 2016

You'll need to write a bit of code to load the plain text with open(...).read() and feed it into the library.

@sravanth
Copy link

I tried feeding a text file to the library..but it is just returning the same text again..

I used the below code..

f = open('C:/Users/test.txt')
file= f.read()
import summarize
print(summarize.summarize_text(file))

@Pankaj2908
Copy link

Any updates on this error .. I am also facing the same issue

@vgel
Copy link
Owner

vgel commented Sep 26, 2018

What's the text file contents?

@Pankaj2908
Copy link

Pankaj2908 commented Sep 27, 2018 via email

@vgel
Copy link
Owner

vgel commented Sep 27, 2018 via email

@Pankaj2908
Copy link

Pankaj2908 commented Sep 27, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants