Transductive Learning from Textual Data with Relevant Example Selection