Updated code

Fixed Stanford POS tagger out-of-memory issue, by tagging line by line.