Text tagging using neural network and linguistics algorithm