November 2018
Beginner to intermediate
182 pages
4h 48m
English
But what about a web-scale corpus with millions of documents and a few thousand keywords? Regex can take several days to run over such exact searches because of its linear time complexity. How can we improve this?
We can use FlashText for this very specific use case:
Of course, there are several different possible solutions to this problem. I recommend this for its simplicity and focus on solving one problem. It does not require us to learn new syntax or set up specific tools such as ElasticSearch.
The following table gives you a comparison of using Flashtext ...
Read now
Unlock full access