You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the current twitter_crawler_project.py script does not flag when hash tags have been identified as synonyms. From my perspective, knowing if a keyword has been detected as a hash tag vs normal word is important, as they can have quite different meanings.
I'd like to change the code that keeps user mentions (eg: @mrfoo) found in the tweet to also keep hash tags (currently only the word part of the tag is reported).
It'd mean two changes:
r"@%s\b" changed to r"[#@]%s\b"
"@%s" % keyword changed to "%s%s" % (word_match.group()[0], keyword)
Thoughts?
The text was updated successfully, but these errors were encountered:
the current twitter_crawler_project.py script does not flag when hash tags have been identified as synonyms. From my perspective, knowing if a keyword has been detected as a hash tag vs normal word is important, as they can have quite different meanings.
I'd like to change the code that keeps user mentions (eg: @mrfoo) found in the tweet to also keep hash tags (currently only the word part of the tag is reported).
It'd mean two changes:
r"@%s\b"
changed tor"[#@]%s\b"
"@%s" % keyword
changed to"%s%s" % (word_match.group()[0], keyword)
Thoughts?
The text was updated successfully, but these errors were encountered: