as.sentiment function

Convert a sentiment table to a sentiment object