Bistring – Bidirectionally Transformed Strings
github.com
github.com
Apparently it's for machine learning where you want to pick out a span/substring in the original text but your model can only accept normalized text (I am guessing for stuff like transforming out-of-vocabulary words into UNK/unknown tokens). This solves that problem by keeping track of the index mapping between the original text and transformed text.
(picking out spans is very common task in NLP, for example see the SQuAD dataset: https://rajpurkar.github.io/SQuAD-explorer/explore/v2.0/dev/...)
The formatted documentation can be viewed here btw: https://bistring.readthedocs.io/en/latest/Introduction.html
The title made me think of Boomerang, this looks like it has rather different use cases in mind.