Complete filter_simi.py.
goods_simi_demo.py: no need for index conversion.