Refactored SENSEVAL POS mapping into a function