Polarity classification using structure-based vector representations of text