first version: supports original dictionary-based feature and TFIDF