Categorizing Words by Part of Speech