Jefferson-Henrique / Jefferson-Henrique/GetOldTweets-java

Incorrect splitting for separating hashtags

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
76
Forks
45
PR merge metrics
No merged PRs in 30d

Description

In the case where there is another tweet, a picture or similar embedded in a tweet, the text of the tweet and this attachment are not separated. See this example:
https://twitter.com/ACM_CHIIR/status/837247495864479744
`Hooray - the proceedings arrived today! #chiir2017pic.twitter.com/lLZMfTpR0F`

This is by itself unsatisfying, but also leads to problems in the detection of a hashtag.

If like in the example, the last token of a tweet before the attachment is a hashtag, `tweet.getHashtags()` will output `#chiir2017pic` as a hashtag, where it should simply be `#chiir2017 `.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.