I added the lastTokenIndex variable to the EncodingResult class to know the last position of the text truncated by max token.
I only created a simple validation code to test this change. For a complete test, I think need to add one more column to the CSV file for the test and put in the appropriate position values.
And I need to review if lastTokenIndex is a proper variable name and if it reflects the proper requirements for the issue.
Implementation for issue #80
I added the lastTokenIndex variable to the EncodingResult class to know the last position of the text truncated by max token.
I only created a simple validation code to test this change. For a complete test, I think need to add one more column to the CSV file for the test and put in the appropriate position values.
And I need to review if lastTokenIndex is a proper variable name and if it reflects the proper requirements for the issue.