tokens: A much , much better approach would be to implement this with a linked list where you keep a pointer to the head and a pointer to the tail .
ner_tags: O O O O O O O O O O O O O B-Data_Structure I-Data_Structure O O O O B-Data_Type O O O O O B-Data_Type O O O O