Closed shyamupa closed 6 years ago
I see @danyaljj has merged, but i had a comment: TA class already consists of self.sentence_end_position -- which is the end token index of each sentence. So I don't see the use case of this function. Also, you can simply make a new list with starting from '0' and end at the second-last element of this list. That won't require you to traverse through the sentences or sort a list. Maybe you can change the function to do that.
Apart from that some minor comments:
@danyaljj can we make sure that tests are written before merging any new code. And for major changes we require to check that compatibility with Java is not broken?
solving #72.