Skip to content

allow pass different subsequence method in similar_region #47

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

Merged
merged 6 commits into from
Jan 13, 2014

Conversation

tpeng
Copy link
Contributor

@tpeng tpeng commented Jan 7, 2014

allow override the build_extraction_tree in InstanceBasedLearningExtractor

tpeng added 6 commits January 7, 2014 16:49
allow override the build_extraction_tree in InstanceBasedLearningExtractor
* fix pep257 warning
* use max instead if nlargest
sometime the data to extract are same (e.g. the rating is restaurant reviews), instead of raise exception, this change make the template maker try to annotate next match ones.
shaneaevans added a commit that referenced this pull request Jan 13, 2014
allow passsing different subsequence methods to similar_region
@shaneaevans shaneaevans merged commit 62a46da into scrapy:master Jan 13, 2014
@tpeng tpeng deleted the patch-1 branch January 13, 2014 15:00
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

Successfully merging this pull request may close these issues.

2 participants