3 ms·
It takes in text that contains malformed URLs and tries to make sense what valid URLs they might be. I think the purpose is to extract URLs from formatted text
by jpalomaki 7y ago
It takes in text that contains malformed URLs and tries to make sense what valid URLs they might be.
I think the purpose is to extract URLs from formatted text, for example from discussion forum posts where they might be mixed up with HTML or other markup and contain typos (due to user errors or users trying to deliberately make the URLs undetectable).
Might be also useful if you want to extract URLs from PDF. PDF to text conversions might cause all kinds of errors to the output.