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

Add 'post' to pathparts? #6

Closed
schwanksta opened this issue Aug 5, 2014 · 3 comments
Closed

Add 'post' to pathparts? #6

schwanksta opened this issue Aug 5, 2014 · 3 comments

Comments

@schwanksta
Copy link

>>> import storysniffer
>>> storysniffer.guess("http://homicide.latimes.com/post/postscript-catching-bijan-shoushtaris-family-year-later/") # Lots of dashes!
True
>>> storysniffer.guess("http://homicide.latimes.com/post/narcisa-ramirez/") # Few dashes :(
False
@palewire
Copy link
Owner

palewire commented Aug 5, 2014

Thanks for the idea. In the end, I suspect a machine learning approach where we code a few thousand URLs True/False is going to be more effective than rigid rules like this early prototype, but I'm all for improving it!

@schwanksta
Copy link
Author

Yeah, I figured it was a stopgap, but might as well. 👍

-Ken Schwencke

On Tue, Aug 5, 2014 at 4:59 PM, Ben Welsh notifications@github.com wrote:

Thanks for the idea. In the end, I suspect a machine learning approach
where we code a few thousand URLs True/False is going to be more effective
than rigid rules like this early prototype, but I'm all for improving it!


Reply to this email directly or view it on GitHub
#6 (comment)
.

@palewire
Copy link
Owner

palewire commented Aug 6, 2014

Yep. If you have any more ideas let me know. I'm stretching it on this one and need all the help I can get.

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

No branches or pull requests

2 participants