Global and Local Approach of Part-of-Speech Tagging for Large Corpora