add base classifier and global ngrams feature functions

add CRFsuite backend base on the crfsuite's SWIG python package.