lexor function works

The conversion method now works as intended so there is no need to
set the language explicitly. Tried some of the selector methods with
success.