Coder Social home page Coder Social logo

twitter-word-cloud's People

Contributors

ahangarha avatar amirrezanasiri avatar ammirsm avatar behrouzbakhtiari avatar hrbdev avatar monirzadeh avatar peymanslh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

twitter-word-cloud's Issues

استخراج ابر کلمات دو کلمه ای

چطور می تونم ابر کلمات دو کلمه ای رو با استفاده از برنامه پیدا کنم؟ آیا امکان پذیر است؟
برای پیدا کردن ابرکلمات در اسکیل بزرگتر راه حلی دارید؟

Issue in handling Persian hashtags

It seems the code cannot handle those Persian hashtags that contain ZWNJ. For example #نرم‌افزار_آزاد gets converted into افزار_آزاد

I have investigated and found that the issue is related to preprocessor package which doesn't recognize ZWNJ as a valid character in hashtag. I have reported the issue (s/preprocessor#30) and also sent a PR to the project (s/preprocessor#31)

Though solving that problem is good, but it will harm this project as it results in complete removal of hashtag. I suggest to keep hashtags in the word cloud by removing # character manually before passing it into preprocessor.

If you agree, I send PR for it

خطا توی بعضی اکانت ها

دستور اجرا شده
python twc.py soboutipour 200

Traceback (most recent call last):
File "twc.py", line 141, in
main()
File "twc.py", line 137, in main
generate_word_cloud()
File "twc.py", line 114, in generate_word_cloud
data['clean_tweet'] = data['tweet'].apply(lambda x: clean_tweet(x))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\core\series.py", line 3848, in apply
mapped = lib.map_infer(values, f, convert=convert_dtype)
File "pandas_libs\lib.pyx", line 2327, in pandas._libs.lib.map_infer
File "twc.py", line 114, in
data['clean_tweet'] = data['tweet'].apply(lambda x: clean_tweet(x))
File "twc.py", line 69, in clean_tweet
tweet = tweet.lower()
AttributeError: 'float' object has no attribute 'lower'

مشکل انتخاب نام کاربری

در انتخاب یوزر توسط sys.argv داره آرگومان اول رو انتخاب میکنه که چون داره کلید -u میگیره یوزرنیم رو -u میگیره و ادامه میده کار رو نه نام کاربری و احتمالا همین مساله برای تعداد کلمات هم باشه که یه کلید اومده قبلش
باید شماره جایگاه ارگومان ها رو تغییر بدید

python twc.py -u twitter_username -c 100

A gap in persian list in stopwords.py

There's a gap in the middle of persian list in stopwords.py.

...
'۹',
 '…',
 'و']
[ 'خواهید',
 'گوییم',
 'اکثرا',
...

I mean those ][ .

What is the license

Please include a Free Software license for this project. AGPLv3 would be great.

Getting Retweets

Does this project include user's retweets?
I run the project and after checking the log, I realized that it doesn't get retweets.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.