Repository navigation
Lookalike by name: ignore connector words like at/of (follow-up to #352) - #353
Merged
Merged
Conversation
Collaborator
Author
|
Review (conductor, 05:37): PASS. 10-line change: connectors dropped from both name and ad tokens; >=2 words of >=3 letters, the longer-name blocker, unique record and LIVE-only all unchanged; red-green proven; 'The Oaks' still never matches. Merge on green. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Real kit names such as 'District at Greenbriar' have a word under 3 letters, so the name index dropped them and #352 never fired on real data. Connector words (at, on, of, by, the, and, in) are now dropped from both the indexed names and the ad words before matching. Unchanged: at least 2 remaining words of 3+ letters, the longer-name blocker, one record per name, LIVE only. Tests in tests/test_lookalike_by_name.py (connector name matches and its lookalike host is flagged, 'The Oaks' still never matches, blocker still holds).