Bistring – Bidirectionally Transformed Strings
1–8 of 8 posts
Re: Bistring – Bidirectionally Transformed Strings
#2Re: Bistring – Bidirectionally Transformed Strings
#3Re: Bistring – Bidirectionally Transformed Strings
#4Apparently 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/...)
Re: Bistring – Bidirectionally Transformed Strings
#5I was confused about the intended use case but there's more information in the docs folder: https://github.com/microsoft/bistring/blob/master/docs/Intro... 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 probl…
Re: Bistring – Bidirectionally Transformed Strings
#6This is interesting, but the readme doesn't say much about use cases. What is a big application that could benefit from this?
Re: Bistring – Bidirectionally Transformed Strings
#7I was confused about the intended use case but there's more information in the docs folder: https://github.com/microsoft/bistring/blob/master/docs/Intro... 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 probl…
The formatted documentation can be viewed here btw: https://bistring.readthedocs.io/en/latest/Introduction.html
Re: Bistring – Bidirectionally Transformed Strings
#8The title made me think of Boomerang, this looks like it has rather different use cases in mind.