Building Conditional Random Fields for sequential text data