Conditional Random Fields: An Introduction