UNKNOWN
Project description
Introduction
The package aims at findng core terms, brand, and descriptions from a product title from e-commerce websites.
> Example: product title: ‘Makibes Unisex Red LED Digital Band Wrist Watch’)
product core term: ‘watch’ product brand name: ‘makibes’ Descriptions: ‘unisex red led digital band wrist’
Usage
$ python >>> from product_tagger import tag_product >>> tag_product(‘Makibes Unisex Red LED Digital Band Wrist Watch’) (u’watch’, u’makibes’, u’unisex red led digital band wrist’)
The tagger can also be called in a shell
$ cd product_tagger $ python product_tagger.py ‘Makibes Unisex Red LED Digital Band Wrist Watch’ =========== (‘Core term: ‘, u’watch’) (‘Brand: ‘, u’makibes’) (‘Discriptions: ‘, u’unisex red led digital band wrist’)
Requirements
Python >=2.7 or >=3.3
nltk >=3.2.1
requests >= 2.8.1
lxml
xlrd