- Регистрация
- 25.11.2012
- Сообщения
- 544
- Благодарностей
- 26
- Баллы
- 28
Facing an issue with matching words to product titles.
I'm scraping a site for the product titles, ie: 'Bamboo 8 piece kitchen knife set'. I have a list of 100 banned items that I need to compare to the product title.
So if the banned item is: 'kitchen knife', how do I compare it? Some banned item words are single or up to three in total, ie: knife, air rifle, etc.
I'm able to break up the title into separate words, and then compare to the banned list - but, I can only compare single word banned items. This clearly won't work.
Any other suggestions?
Thanks.
I'm scraping a site for the product titles, ie: 'Bamboo 8 piece kitchen knife set'. I have a list of 100 banned items that I need to compare to the product title.
So if the banned item is: 'kitchen knife', how do I compare it? Some banned item words are single or up to three in total, ie: knife, air rifle, etc.
I'm able to break up the title into separate words, and then compare to the banned list - but, I can only compare single word banned items. This clearly won't work.
Any other suggestions?
Thanks.