tokens: I may be misunderstanding the question , but why do n't you make a class with a function to generate and another function to edit the locations ?
ner_tags: O O O O O O O O O O O O O O O O O O O O O O O O O O O O