tokens: $data have a String type and you are comparing String with Int type even if you pass numeric value $data will be String type .
ner_tags: B-Variable O O B-Data_Type O O O O O B-Data_Type O B-Data_Type O O O O O O O B-Variable O O B-Data_Type O O