entity-finder
Version:
Named entity finder
9 lines (8 loc) • 510 B
TypeScript
import { PageTitle } from "./types";
export declare function countWords(title: string): number;
export declare function isWikidataId(id: string): boolean;
export declare function formatTitle(title: string): PageTitle;
export declare function getDisambiguationName(lang: string): string;
export declare function removeNestedParentheses(text: string): string;
export declare function firstPhrase(text: string, min?: number): string;
export declare function similarityScore(a: string, b: string): number;