added wiki tokenize function