Convert a collection of features to a fixed-dimensional matrix using the hashing trick

Convert a collection of features to a fixed-dimensional matrix using the hashing trick.

Note, this requires Jina>=2.2.4.

Example

Here I use FeatureHasher to hash each sentence of Pride and Prejudice into a 128-dim vector, and
then use .match to find top-K similar sentences.