split wordcloud weight fun into filter and weiht function