Bm25Vectorizer

public final class Bm25Vectorizer<T extends Number> implements Vectorizer<T, Float>

Constructors

Link copied to clipboard
public Bm25Vectorizer<T> Bm25Vectorizer(    PercentOrCount minDf,     PercentOrCount maxDf,     IntRange ngramRange,     Integer k,     Float b)

Functions

Link copied to clipboard
public Unit fit(List<List<String>> input)
Link copied to clipboard
public MultiArray<Float, D2> fitTransform(List<List<String>> input)
Link copied to clipboard
public MultiArray<Float, D2> transform(List<List<String>> input)