tokens: I 've implemented the graph with using just the functions , and passing adjacency matrix to them ( my bad ) , I strongly recommend to implement the Graph in a class , which handles all of the Graph stuff itself , and you do n't have to pass adjacency matrix to it , you should n't even have to know whether the Graph class is implemented using Adjacency Matrix or some other method ( of course when using the class , not implementing it )
ner_tags: O O O O B-Data_Structure O O O O O O O O O B-Data_Structure O O O O O O O O O O O O O B-Data_Structure O O O O O O O O O B-Data_Structure O O O O O O O O O O O B-Data_Structure O O O O O O O O O O O O B-Class O O O O O B-Data_Structure O O O O O O O O O O O O O O O O