classifier.js
Version:
:robot: Natural language processing with Javascript
12 lines (11 loc) • 342 B
TypeScript
export declare function getChunks(input: string): {
next: () => {
value: string;
done: boolean;
} | {
done: boolean;
value?: undefined;
};
};
export declare function getRoot(base: string, newToken: string): string;
export declare function resolveSimilarity(base: string, newToken: string): number;