Neural Network and Rule-Based Methods for Part-of-Speech Tagging