lexical category analysis across languages