get sentiment from doc