class TextVectorizerimport { TextVectorizer } from "https://deno.land/x/netsaur@0.4.2/packages/utilities/src/text/mod.ts"; ConstructorsnewTextVectorizer(mode?: "tf" | "tfidf" | "indices")Propertiesoptionalencoder: TfEncodermapper: DiscreteMapper<string>maxLength: numbermode: "tf" | "tfidf" | "indices"optionaltransformer: TfIdfTransformerreadonlyvocabSize: numberMethodsfit(document: string | string[]): TextVectorizertransform<DT extends DataType>(document: string | string[], dType: DT): Matrix<DT>