implemented NVP tokenizer