Text this: Study of cost functions for discretized data using ANN classifier