summarytweets's People
summarytweets's Issues
TypeError: ord() expected a character, but string of length 0 found
I have tried to run the repository and found the following error:
C:\Users\lenovo-pc\Desktop\SummaryTweets-master>c:\Python27\python.exe tf_idf.py -textfile input.txt
Parsing Corpus...
Traceback (most recent call last):
File "tf_idf.py", line 167, in <module>
program = tfidf()
File "tf_idf.py", line 31, in __init__
self.compressor = parse_compress.compressor()
File "C:\Users\lenovo-pc\Desktop\SummaryTweets-master\parse_compress.py", line 18, in __init__
self.all_phrases = pickle.load(all_phrases)
File "c:\Python27\lib\pickle.py", line 1384, in load
return Unpickler(file).load()
File "c:\Python27\lib\pickle.py", line 864, in load
dispatch[key](self)
File "c:\Python27\lib\pickle.py", line 1175, in load_binput
i = ord(self.read(1))
TypeError: ord() expected a character, but string of length 0 found
I am using the Windows 10 and have googled the error and tried the solution as:
Replacing r
with rb
while opening the pickle dictionary. But the solution doesn't worked at all.
Kindly help me.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.