Applying text APIs on thread replies and activity replies