Implementation of CRF (conditional random fiels) and pos-tagger