There's this [Flashtext algorithm to retrieve keywords from a document](https://arxiv.org/abs/1711.00046). And [there are implementations in other languages](https://github.com/search?q=FlashText&type=Repositories&l=&l=). So maybe it would make sense to port [the Ruby version](https://github.com/imran3180/flashtext) or [the reference implementation](https://github.com/vi3k6i5/flashtext) to Crystal, too?
There's this Flashtext algorithm to retrieve keywords from a document. And there are implementations in other languages. So maybe it would make sense to port the Ruby version or the reference implementation to Crystal, too?