import { SingleWord } from "./SingleWord.js"; type CandidateTerm = [tag: string, word: string, term: SingleWord | null]; type NormalizedCandidateTerm = [tag: string, word: string, term: SingleWord | null, normalizedWord?: string]; export declare class ComposedWord { readonly tags: Set; readonly kw: string; readonly uniqueKw: string; readonly size: number; readonly terms: SingleWord[]; readonly startOrEndStopwords: boolean; order: number; tf: number; integrity: number; h: number; /** * Creates a composed-word candidate from token-tag-term tuples. */ constructor(terms: NormalizedCandidateTerm[] | null); /** * Merges tag information from another occurrence of the same candidate. */ updateCand(candidate: ComposedWord): void; /** * Checks whether the candidate is valid for ranking. */ isValid(): boolean; /** * Computes the final YAKE multi-word score. */ updateH(features?: string[] | null, isVirtual?: boolean): void; } export type { CandidateTerm, NormalizedCandidateTerm }; //# sourceMappingURL=ComposedWord.d.ts.map