The learning vector quantization algorithm applied to automatic text classification tasks