Siamese network with soft attention for semantic text understanding