We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 819f81f commit 51d429dCopy full SHA for 51d429d
types/index.d.ts
@@ -348,11 +348,11 @@ declare module 'wink-nlp/utilities/bm25-vectorizer' {
348
}
349
350
export interface BM25Vectorizer {
351
- learn(tokens: Tokens): void;
+ learn(tokens: string[]): void;
352
out<T>(f: ItsFunction<T>): T;
353
doc(n: number): Document;
354
- vectorOf(tokens: Tokens): number[];
355
- bowOf(tokens: Tokens): Bow;
+ vectorOf(tokens: string[]): number[];
+ bowOf(tokens: string[]): Bow;
356
config(): BM25VectorizerConfig;
357
loadModel(json: string): void;
358
0 commit comments