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

Parse incoming tweets better #2

Open
adherr opened this issue May 19, 2014 · 3 comments
Open

Parse incoming tweets better #2

adherr opened this issue May 19, 2014 · 3 comments
Assignees

Comments

@adherr
Copy link
Owner

adherr commented May 19, 2014

if there is text before and after "@IsItStolen" those substrings should each be searched for, because probably only one of them is the serial. If there are hashtags, this could result in more than two substrings...

@adherr adherr self-assigned this May 19, 2014
@sethherr
Copy link
Collaborator

We encourage people to put all the things they find on the BB in for serial. So my cross check is CROSS-54 M11041026. This is where the near matches will be useful. The Index already splits them and searches, you should just send everything together.

@adherr
Copy link
Owner Author

adherr commented May 19, 2014

I'll definitely search for everything between user mentions and hashtags as a single item. I'm talking about tweets like "Hey @IsItStolen serial parts #sweetbike". I probably shouldn't search for "Hey serial parts", rather "Hey" and "serial parts" separately. I would iterate through the parts of the incoming message as long as there were no hits.

Hopefully people just tweet "@IsItStolen serial parts" but I'm not really up on the lingo of this whole Twitter thing.

@sethherr
Copy link
Collaborator

Yeah, it might be something where you just see what people do and how things fail and then fix any errors people come up with, rather than try to anticipate all the possibilities.

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

No branches or pull requests

2 participants